/* FindMe Local Boost — feuille de style principale
   Les couleurs de marque sont centralisées ici (variables) pour appliquer facilement la charte graphique. */
:root {
  --primary: #1e65ad;      /* Planetarium (charte FindMe) */
  --primary-600: #18548f;
  --primary-50: #e8f0f9;
  --secondary: #01a186;    /* Arcadia */
  --secondary-50: #e3f5f1;
  --green: #519d38;        /* Enviable */
  --green-50: #edf6e9;
  --charcoal: #464646;     /* Wood Charcoal */
  --accent: #f2a516;
  --accent-50: #fdf4e2;
  --danger: #d64545;
  --danger-50: #fcecec;
  --ink: #1f2328;
  --ink-2: #464646;
  --muted: #6e7075;
  --line: #e3e8f0;
  --line-2: #eef1f6;
  --bg: #f5f7fb;
  --card: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(20, 35, 60, .06), 0 1px 3px rgba(20, 35, 60, .05);
  --shadow-lg: 0 10px 30px rgba(20, 35, 60, .12);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --sidebar: 248px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 15px; line-height: 1.5; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.25; letter-spacing: -.01em; }
h1 { font-size: 1.6rem; }
h2 { font-size: 1.15rem; }
h3 { font-size: 1rem; }
p { margin: 0 0 .8em; }
small, .small { font-size: .84rem; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.center { text-align: center; }
hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
code { background: var(--line-2); padding: 1px 6px; border-radius: 5px; font-size: .86em; }

/* ---------- boutons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; justify-content: center; padding: 9px 16px;
  border-radius: var(--radius-sm); border: 1px solid transparent; font: 600 .92rem var(--font); cursor: pointer;
  background: var(--primary); color: #fff; text-decoration: none !important; white-space: nowrap; transition: background .15s; }
.btn:hover { background: var(--primary-600); }
.btn.secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.btn.secondary:hover { background: var(--line-2); }
.btn.success { background: var(--secondary); }
.btn.success:hover { background: #0e8a68; }
.btn.danger { background: #fff; color: var(--danger); border-color: #f2c4c4; }
.btn.danger:hover { background: var(--danger-50); }
.btn.ghost { background: transparent; color: var(--primary); padding: 6px 10px; }
.btn.ghost:hover { background: var(--primary-50); }
.btn.sm { padding: 6px 11px; font-size: .84rem; }
.btn.lg { padding: 13px 22px; font-size: 1rem; }
.btn.block { width: 100%; }
.btn[disabled], .btn.disabled { opacity: .55; pointer-events: none; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* ---------- formulaires ---------- */
label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 5px; color: var(--ink-2); }
.field { margin-bottom: 14px; }
.field .hint { font-size: .8rem; color: var(--muted); margin-top: 4px; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=url],
input[type=date], input[type=time], input[type=search], input[type=color], select, textarea {
  width: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit;
  background: #fff; color: var(--ink); }
input[type=color] { padding: 2px; height: 40px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--primary-50); border-color: var(--primary); }
textarea { min-height: 96px; resize: vertical; }
.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 500; color: var(--ink); }
.check input { margin-top: 4px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 16px; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px 6px; margin: 0 0 18px; }
legend { font-weight: 700; padding: 0 6px; }
.inline-form { display: inline; }

/* ---------- cartes ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card + .card { margin-top: 16px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.card-head h2 { margin: 0; }
.cards { display: grid; gap: 16px; }
.cards.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stack > * + * { margin-top: 16px; }
.split { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; align-items: start; }

.kpi { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.kpi .label { font-size: .82rem; color: var(--muted); font-weight: 600; }
.kpi .value { font-size: 1.65rem; font-weight: 800; letter-spacing: -.02em; margin-top: 2px; }
.kpi .delta { font-size: .8rem; font-weight: 700; }
.delta.up { color: var(--secondary); }
.delta.down { color: var(--danger); }

/* ---------- badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: .76rem;
  font-weight: 700; background: var(--line-2); color: var(--ink-2); white-space: nowrap; }
.badge.blue { background: var(--primary-50); color: var(--primary); }
.badge.green { background: var(--secondary-50); color: #0b7c5d; }
.badge.amber { background: var(--accent-50); color: #9a6200; }
.badge.red { background: var(--danger-50); color: var(--danger); }
.badge.dark { background: var(--ink); color: #fff; }

/* ---------- tableaux ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th { text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted);
  padding: 10px 14px; background: #fafbfd; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 11px 14px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: #fbfcfe; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- alertes ---------- */
.flashes { margin-bottom: 16px; display: grid; gap: 8px; }
.alert { padding: 11px 14px; border-radius: var(--radius-sm); border: 1px solid; font-size: .92rem; display: flex; gap: 10px; align-items: flex-start; }
.alert.success { background: var(--secondary-50); border-color: #b5e4d5; color: #0a6a50; }
.alert.error { background: var(--danger-50); border-color: #f2c4c4; color: #a52a2a; }
.alert.warning { background: var(--accent-50); border-color: #f3d79d; color: #7d5100; }
.alert.info { background: var(--primary-50); border-color: #c5d7f1; color: var(--primary-600); }
.alert .btn { margin-left: auto; }

/* ---------- coquille de l'application ---------- */
.shell { display: grid; grid-template-columns: var(--sidebar) minmax(0, 1fr); min-height: 100vh; }
.sidebar { background: var(--primary); color: #e6eef8; padding: 18px 12px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.sidebar .brand { display: flex; align-items: center; gap: 10px; padding: 4px 10px 18px; color: #fff; font-weight: 800; }
.sidebar .brand small { display: block; font-weight: 600; color: #8ea3c2; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.nav-title { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.62); padding: 14px 10px 6px; font-weight: 700; }
.nav a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: #eaf1fa; font-weight: 600; font-size: .9rem; }
.nav a:hover { background: rgba(255,255,255,.12); color: #fff; text-decoration: none; }
.nav a.active { background: #fff; color: var(--primary); box-shadow: inset 3px 0 0 var(--green); }
.nav a.active .tag { background: var(--green-50); color: var(--green); }
.nav a .tag { margin-left: auto; font-size: .64rem; background: rgba(255,255,255,.18); color: #fff; padding: 1px 6px; border-radius: 99px; }
.nav a .count { margin-left: auto; font-size: .72rem; background: rgba(255,255,255,.12); padding: 0 7px; border-radius: 99px; }
.nav svg { width: 18px; height: 18px; flex: none; }
.main { min-width: 0; }
.topbar { display: flex; align-items: center; gap: 14px; padding: 12px 28px; background: #fff; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20; }
.topbar .org { font-weight: 700; }
.topbar .spacer { flex: 1; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--line-2);
  font-weight: 700; font-size: .84rem; color: var(--ink); }
.pill.credits { background: var(--accent-50); color: #8a5a00; }
.pill:hover { text-decoration: none; filter: brightness(.97); }
.content { padding: 26px 28px 60px; max-width: 1280px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.page-head p { margin: 0; color: var(--muted); }
.menu-toggle { display: none; background: none; border: 0; padding: 4px; cursor: pointer; }

.currency-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.currency-toggle button { border: 0; background: transparent; padding: 5px 11px; font: 700 .78rem var(--font); cursor: pointer; color: var(--muted); }
.currency-toggle button.on { background: var(--ink); color: #fff; }

.user-menu { position: relative; }
.user-menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; }
.user-menu summary::-webkit-details-marker { display: none; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--primary-50); color: var(--primary); display: grid; place-items: center; font-weight: 800; font-size: .8rem; }
.user-menu .dropdown { position: absolute; right: 0; top: 42px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-lg); min-width: 200px; padding: 6px; }
.user-menu .dropdown a { display: block; padding: 8px 10px; border-radius: 6px; color: var(--ink); font-size: .9rem; }
.user-menu .dropdown a:hover { background: var(--line-2); text-decoration: none; }

.banner { padding: 10px 28px; font-size: .9rem; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.banner.warning { background: var(--accent-50); color: #7d5100; border-bottom: 1px solid #f3d79d; }
.banner.danger { background: var(--danger-50); color: #a52a2a; border-bottom: 1px solid #f2c4c4; }
.banner.info { background: var(--primary-50); color: var(--primary-600); border-bottom: 1px solid #c5d7f1; }
.banner .btn { margin-left: auto; }

/* ---------- graphiques ---------- */
.chart { width: 100%; height: auto; display: block; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .axis { fill: var(--muted); font-size: 11px; font-family: var(--font); }
.chart .hit { fill: transparent; }
.chart .hit:hover { fill: rgba(31, 95, 174, .18); }
.empty-chart { padding: 40px 10px; text-align: center; color: var(--muted); font-size: .9rem; background: var(--line-2); border-radius: var(--radius-sm); }
.bar-list { display: grid; gap: 8px; }
.bar-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 2fr) 70px; gap: 10px; align-items: center; font-size: .88rem; }
.bar-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-track { background: var(--line-2); border-radius: 99px; height: 9px; overflow: hidden; }
.bar-fill { display: block; height: 100%; border-radius: 99px; }
.bar-value { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.stars { color: var(--accent); letter-spacing: 1px; white-space: nowrap; }
.stars .off { color: #d9dee7; }
.donut .track { fill: none; stroke: var(--line-2); stroke-width: 10; }
.donut .value { fill: none; stroke-width: 10; stroke-linecap: round; }
.donut.good .value { stroke: var(--secondary); }
.donut.mid .value { stroke: var(--accent); }
.donut.low .value { stroke: var(--danger); }
.donut-text { font: 800 22px var(--font); fill: var(--ink); }
.progress { background: var(--line-2); height: 8px; border-radius: 99px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--secondary); border-radius: 99px; }
.progress.amber > span { background: var(--accent); }
.progress.red > span { background: var(--danger); }

/* ---------- listes, divers ---------- */
.list { list-style: none; margin: 0; padding: 0; }
.list li { padding: 10px 0; border-bottom: 1px solid var(--line-2); display: flex; gap: 10px; align-items: center; }
.list li:last-child { border-bottom: 0; }
.checklist li .tick { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: .8rem; font-weight: 800; }
.checklist li.done .tick { background: var(--secondary); color: #fff; }
.checklist li.todo .tick { border: 2px solid var(--line); color: var(--muted); }
.checklist li.done span.lbl { color: var(--muted); text-decoration: line-through; }
.empty { text-align: center; padding: 42px 20px; color: var(--muted); }
.empty h3 { color: var(--ink); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.tabs a { padding: 9px 14px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs a.active { color: var(--primary); border-color: var(--primary); }
.tabs a:hover { text-decoration: none; color: var(--ink); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.filters select, .filters input { width: auto; min-width: 150px; }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 18px; }
.pagination a, .pagination span { padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: .88rem; }
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.dl { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 8px 14px; font-size: .92rem; margin: 0; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; }
.review { padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.review:last-child { border-bottom: 0; }
.review-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.review-head .who { font-weight: 700; }
.review .text { margin: 8px 0; white-space: pre-wrap; }
.reply-box { background: var(--line-2); border-radius: var(--radius-sm); padding: 10px 12px; font-size: .9rem; margin-top: 8px; white-space: pre-wrap; }
.reply-box .meta { font-size: .76rem; color: var(--muted); margin-bottom: 4px; font-weight: 600; }
.reply-form textarea { min-height: 80px; }
.reply-form .btn-row { margin-top: 8px; }
.callout { border-left: 4px solid var(--primary); background: var(--primary-50); padding: 12px 14px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .92rem; }
.callout.amber { border-color: var(--accent); background: var(--accent-50); }
.callout.green { border-color: var(--secondary); background: var(--secondary-50); }
.qr { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px; background: #fff; width: 140px; }
.hours-table td { padding: 4px 8px; }
.hours-grid { display: grid; grid-template-columns: 110px repeat(4, minmax(0, 1fr)) 90px; gap: 6px 8px; align-items: center; }
.hours-grid .day { font-weight: 600; font-size: .9rem; }
.response { white-space: pre-wrap; background: #fafbfd; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px; font-size: .88rem; max-height: 280px; overflow: auto; }

/* ---------- offres ---------- */
.period-switch { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 2px; }
.period-switch label { margin: 0; cursor: pointer; }
.period-switch input { display: none; }
.period-switch span { display: inline-flex; gap: 6px; align-items: center; padding: 7px 16px; border-radius: 999px; font-weight: 700; font-size: .88rem; color: var(--muted); }
.period-switch input:checked + span { background: var(--ink); color: #fff; }
.period-switch .save { font-size: .7rem; background: var(--secondary-50); color: #0b7c5d; padding: 1px 6px; border-radius: 99px; }
.period-switch input:checked + span .save { background: var(--secondary); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; margin-top: 20px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; box-shadow: var(--shadow); position: relative; }
.plan.featured { border: 2px solid var(--primary); }
.plan .ribbon { position: absolute; top: -12px; right: 18px; background: var(--primary); color: #fff; font-size: .72rem; font-weight: 800; padding: 3px 10px; border-radius: 99px; }
.plan h3 { font-size: 1.25rem; margin: 0; }
.plan .tagline { color: var(--muted); font-size: .9rem; }
.plan .price { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; margin: 14px 0 0; }
.plan .price small { font-size: .9rem; font-weight: 600; color: var(--muted); }
.plan .equiv { font-size: .84rem; color: var(--muted); min-height: 1.3em; }
.plan ul { list-style: none; padding: 0; margin: 18px 0; flex: 1; }
.plan li { padding: 5px 0 5px 26px; position: relative; font-size: .9rem; }
.plan li::before { content: "✓"; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--green-50); color: var(--green); font-size: .7rem; font-weight: 800; display: grid; place-items: center; }
.plan li.off { color: #a3abb8; }
.plan li.off::before { content: "–"; background: var(--line-2); color: #a3abb8; }
.qty { display: flex; align-items: center; gap: 8px; }
.qty input { width: 80px; text-align: center; }
.summary-box { background: var(--line-2); border-radius: var(--radius-sm); padding: 12px 14px; font-size: .9rem; margin: 10px 0 14px; }
.summary-box .row { display: flex; justify-content: space-between; gap: 10px; padding: 2px 0; }
.summary-box .total { font-weight: 800; font-size: 1.05rem; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.pack { border: 2px solid var(--line); border-radius: var(--radius); padding: 14px; cursor: pointer; text-align: center; background: #fff; }
.pack input { display: none; }
.pack .n { font-size: 1.4rem; font-weight: 800; }
.pack:has(input:checked) { border-color: var(--primary); background: var(--primary-50); }

/* ---------- pages publiques ---------- */
.public-header { background: #fff; border-bottom: 1px solid var(--line); }
.public-header .inner, .public-footer .inner, .section .inner { max-width: 1160px; margin: 0 auto; padding: 0 22px; }
.public-header .inner { display: flex; align-items: center; gap: 18px; height: 66px; }
.public-header nav { display: flex; gap: 18px; margin-left: auto; align-items: center; }
.public-header nav a { color: var(--ink); font-weight: 600; font-size: .92rem; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); font-size: 1.05rem; }
.logo:hover { text-decoration: none; }
.logo .mark { width: 34px; height: 34px; border-radius: 9px; background: var(--primary); display: grid; place-items: center; }
.logo small { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.hero { background: linear-gradient(135deg, #154c86 0%, var(--primary) 55%, #2577c4 100%); color: #fff; padding: 70px 0 80px; }
.hero h1 { font-size: 2.6rem; max-width: 760px; letter-spacing: -.03em; }
.hero p.lead { font-size: 1.15rem; max-width: 640px; color: #dbe7f7; }
.hero .btn.secondary { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }
.section { padding: 60px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { font-size: 1.7rem; letter-spacing: -.02em; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 26px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.feature .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--primary-50); color: var(--primary); display: grid; place-items: center; margin-bottom: 12px; }
.feature .ico svg { width: 22px; height: 22px; }
.public-footer { background: var(--charcoal); color: #9fb0c9; padding: 34px 0; font-size: .88rem; }
.public-footer a { color: #dbe7f7; }
.auth-wrap { min-height: calc(100vh - 66px); display: grid; place-items: center; padding: 40px 18px; }
.auth-card { width: 100%; max-width: 460px; }
.auth-card.wide { max-width: 640px; }
.note { font-size: .8rem; color: var(--muted); }

/* ---------- page établissement publique ---------- */
.place-hero { background: #fff; border-bottom: 1px solid var(--line); padding: 34px 0; }
.place-hero .inner { max-width: 920px; margin: 0 auto; padding: 0 22px; }
.place-body { max-width: 920px; margin: 24px auto 60px; padding: 0 22px; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 18px; }

/* ---------- mobile ---------- */
@media (max-width: 1100px) {
  .cards.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: fixed; left: 0; top: 0; z-index: 50; width: 270px; transform: translateX(-100%); transition: transform .2s; }
  body.nav-open .sidebar { transform: none; box-shadow: var(--shadow-lg); }
  .menu-toggle { display: inline-flex; }
  .topbar { padding: 10px 16px; }
  .topbar .org { display: none; }
  .content { padding: 20px 16px 50px; }
  .banner { padding: 10px 16px; }
  .cards.c2, .cards.c3 { grid-template-columns: minmax(0, 1fr); }
  .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: 1.9rem; }
  .public-header nav .hide-sm { display: none; }
  .dl { grid-template-columns: minmax(0, 1fr); }
  .dl dt { margin-top: 6px; }
  .hours-grid { grid-template-columns: 90px repeat(2, minmax(0, 1fr)); }
  .hours-grid .slot2 { display: none; }
  .place-body { grid-template-columns: minmax(0, 1fr); }
  .bar-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 56px; }
}
@media (max-width: 520px) {
  .cards.c4 { grid-template-columns: minmax(0, 1fr); }
  .kpi .value { font-size: 1.4rem; }
  .currency-toggle { display: none; }
}
@media print {
  .sidebar, .topbar, .banner, .no-print { display: none !important; }
  .shell { display: block; }
  body { background: #fff; }
  .card { box-shadow: none; }
}

.pill svg, .btn svg { width: 16px; height: 16px; flex: none; }
.hide-sm { }
@media (max-width: 860px) { .hide-sm { display: none; } }
h1 svg, h2 svg, h3 svg { width: 20px; height: 20px; vertical-align: -3px; }
.sidebar { min-height: 100vh; }

/* ---------- identité FindMe / Local Boost ---------- */
.brand-logo { display: flex; flex-direction: column; gap: 10px; padding: 2px 8px 14px; }
.brand-logo .findme { height: 30px; width: auto; }
.brand-logo .lboost { width: 150px; height: auto; margin-left: -6px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.18)); }
.logo-img { height: 30px; width: auto; display: block; }
.logo-wrap { display: flex; align-items: center; gap: 12px; }
.logo-wrap .sep { width: 1px; height: 26px; background: var(--line); }
.logo-wrap .product { font-weight: 800; color: var(--primary); letter-spacing: -.01em; }
.logo-wrap .product em { font-style: normal; color: var(--green); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 30px; align-items: center; }
.hero-grid img { width: 100%; max-width: 420px; justify-self: center; filter: drop-shadow(0 10px 24px rgba(0,0,0,.25)); }
.btn.success { background: var(--green); }
.btn.success:hover { background: #458a2f; }
.kpi .value, .plan .price, h1 { letter-spacing: -.02em; }
.sidebar { background: linear-gradient(180deg, var(--primary) 0%, #18548f 100%); }
.admin-sidebar { background: linear-gradient(180deg, var(--charcoal) 0%, #2f2f2f 100%) !important; }
.admin-sidebar .nav a.active { color: var(--charcoal); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero-grid img { max-width: 260px; } }
.hero .inner { max-width: 1160px; margin: 0 auto; padding: 0 22px; }
input:not([type]) { width: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit; background: #fff; color: var(--ink); }
input:not([type]):focus { outline: 2px solid var(--primary-50); border-color: var(--primary); }

/* ---------- en-tête public bleu, logo Local Boost seul ---------- */
.public-header { background: var(--primary); border-bottom: 0; }
.public-header .inner { height: 74px; }
.public-header nav a { color: #fff; }
.public-header nav a.btn { background: var(--green); }
.public-header nav a.btn:hover { background: #458a2f; }
.public-header .currency-toggle { border-color: rgba(255,255,255,.4); background: transparent; }
.public-header .currency-toggle button { color: rgba(255,255,255,.8); }
.public-header .currency-toggle button.on { background: #fff; color: var(--primary); }
.lb-logo { display: block; width: auto; filter: drop-shadow(0 2px 4px rgba(0,0,0,.18)); }
.brand-logo .lboost { width: 168px; margin: 4px 0 0; }
.by-findme { font-weight: 600; }
.by-findme span { font-weight: 400; opacity: .8; }
.by-findme strong { letter-spacing: .06em; }
.sidebar { display: flex; flex-direction: column; }
.sidebar-foot { margin-top: auto; padding: 18px 10px 4px; font-size: .78rem; color: rgba(255,255,255,.75); }
.app-footer { padding: 18px 28px 26px; font-size: .8rem; color: var(--muted); border-top: 1px solid var(--line); }
.footer-bottom { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.15); font-size: .82rem; }
.hero { background: linear-gradient(135deg, #154c86 0%, var(--primary) 55%, #2577c4 100%); }

.legal { max-width: 860px; }
.legal h2 { margin-top: 26px; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
mark.todo-field { background: var(--accent-50); color: #8a5a00; padding: 0 4px; border-radius: 4px; }
.footer-bottom a, .app-footer a { color: inherit; text-decoration: underline; }

/* ======================================================================
   Site public (style épuré)
   ====================================================================== */
.site { background: #fff; color: #14213d; }
.site .wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.proto-strip { background: #fff7e0; color: #7a5a00; font-size: .8rem; text-align: center; padding: 6px 16px; }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid #eef1f6; }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.site-logo { display: inline-flex; align-items: center; background: var(--primary); border-radius: 10px; padding: 5px 12px; }
.site-logo:hover { text-decoration: none; }
.site-nav { display: flex; gap: 26px; }
.site-nav a, .link-login { color: #14213d; font-weight: 600; font-size: .92rem; }
.site-nav a:hover, .link-login:hover { color: var(--primary); text-decoration: none; }
.site-actions { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.site .btn { border-radius: 999px; padding: 10px 20px; }
.site .btn.lg { padding: 14px 26px; font-size: 1rem; }
.site .btn.ghost { background: #fff; color: #14213d; border-color: #d9e0ea; }
.site .btn.ghost:hover { border-color: var(--primary); color: var(--primary); }
.site .btn.light { background: #fff; color: var(--primary); }
.site .btn.light:hover { background: #eef4fb; }
.site .btn.ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.site .btn.ghost-light:hover { background: rgba(255,255,255,.1); }

.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--secondary); margin-bottom: 12px; }
.s-hero { padding: 72px 0 56px; background: radial-gradient(1200px 500px at 85% 0%, #e9f2fb 0%, rgba(255,255,255,0) 60%), #fff; }
.hero2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.hero2 h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; color: #0f1b33; margin-bottom: 20px; }
.hero2 .hl { color: var(--primary); }
.hero2 .lead { font-size: 1.12rem; color: #4a5568; max-width: 540px; line-height: 1.6; }
.hero2-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero2-proof { list-style: none; padding: 0; margin: 26px 0 0; display: flex; gap: 22px; flex-wrap: wrap; font-size: .88rem; color: #4a5568; }
.hero2-proof li::before { content: "✓"; color: var(--secondary); font-weight: 800; margin-right: 7px; }
.hero2-visual { position: relative; }
.hero2-visual img { width: 100%; height: auto; display: block; border-radius: 24px; box-shadow: 0 30px 60px -20px rgba(15, 27, 51, .35); }
.float-card { position: absolute; background: #fff; border-radius: 14px; padding: 10px 14px; box-shadow: 0 12px 30px -8px rgba(15,27,51,.25); display: flex; align-items: center; gap: 8px; font-size: .86rem; color: #14213d; white-space: nowrap; }
.float-card .stars { color: #f5b301; letter-spacing: 1px; }
.float-card .dot { width: 10px; height: 10px; border-radius: 50%; }
.float-card .dot.green { background: var(--secondary); } .float-card .dot.blue { background: var(--primary); }
.fc-1 { top: 22px; left: -26px; } .fc-2 { bottom: 70px; right: -18px; } .fc-3 { bottom: -18px; left: 30px; }

.s-stats { border-top: 1px solid #eef1f6; border-bottom: 1px solid #eef1f6; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); }
.stats-row > div { padding: 30px 24px; display: flex; flex-direction: column; gap: 4px; }
.stats-row > div + div { border-left: 1px solid #eef1f6; }
.stats-row strong { font-size: 2rem; font-weight: 800; color: var(--primary); letter-spacing: -.02em; }
.stats-row span { color: #4a5568; font-size: .92rem; }

.s-block { padding: 88px 0; }
.s-block.soft { background: #f6f9fc; }
.s-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.s-head h1, .s-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; color: #0f1b33; line-height: 1.15; }
.s-head p { color: #4a5568; font-size: 1.05rem; line-height: 1.6; margin-top: 12px; }

.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefit { padding: 28px 24px; border-radius: 20px; background: #fff; border: 1px solid #eef1f6; transition: box-shadow .2s, transform .2s; }
.benefit:hover { box-shadow: 0 18px 40px -18px rgba(15,27,51,.25); transform: translateY(-2px); }
.b-ico { width: 48px; height: 48px; border-radius: 14px; background: #eef4fb; display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 18px; }
.benefit h3, .audience h3 { font-size: 1.05rem; font-weight: 700; color: #0f1b33; }
.benefit p, .audience p { color: #4a5568; font-size: .93rem; margin: 0; line-height: 1.55; }
.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.audience > div { background: #fff; border-radius: 20px; padding: 26px 24px; border-top: 4px solid var(--secondary); }
.audience > div:nth-child(2n) { border-top-color: var(--primary); }

.two-offers { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.offer-card { display: flex; flex-direction: column; gap: 10px; padding: 36px; border-radius: 24px; background: #f6f9fc; border: 1px solid #e6edf5; color: #14213d; transition: transform .2s, box-shadow .2s; }
.offer-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 24px 50px -24px rgba(15,27,51,.35); }
.offer-card h3 { font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; margin: 0; }
.offer-card p { color: #4a5568; line-height: 1.6; margin: 0; }
.offer-card .tag { align-self: flex-start; font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: #e3f5f1; color: #017a66; }
.offer-card .from { font-weight: 700; margin-top: 8px; }
.offer-card .go { margin-top: auto; padding-top: 14px; font-weight: 700; color: var(--primary); }
.offer-card.dark { background: linear-gradient(140deg, #123f73 0%, var(--primary) 100%); border-color: transparent; color: #fff; }
.offer-card.dark p { color: #d6e4f5; }
.offer-card.dark .tag { background: rgba(255,255,255,.16); color: #fff; }
.offer-card.dark .go { color: #fff; }

.premium-points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 36px; }
.pp { display: flex; gap: 12px; align-items: flex-start; }
.pp p { margin: 2px 0 0; color: #4a5568; font-size: .9rem; }
.pp-check { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--secondary); color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 800; }
.fine { color: #6b7686; font-size: .84rem; text-align: center; max-width: 820px; margin: 28px auto 0; line-height: 1.6; }

.site .plans { gap: 24px; }
.site .plan { border-radius: 24px; padding: 32px; border: 1px solid #e6edf5; box-shadow: none; }
.site .plan.featured { border: 2px solid var(--primary); box-shadow: 0 24px 50px -24px rgba(30,101,173,.45); }
.site .plan .ribbon { border-radius: 999px; padding: 4px 12px; }
.site .plan h3 { font-size: 1.4rem; font-weight: 800; }
.site .plan li { color: #2d3748; }
.site .plan li.strong { font-weight: 700; }
.site .plan li::before { background: #e3f5f1; color: var(--secondary); }
.site .period-switch { border-radius: 999px; }

.s-cta { padding: 0 0 88px; }
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; background: linear-gradient(120deg, var(--primary) 0%, #1a7fb0 60%, var(--secondary) 130%); color: #fff; border-radius: 28px; padding: 48px 56px !important; }
.site .cta-box { max-width: 1132px; }
.cta-box h2 { font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; margin: 0 0 6px; }
.cta-box p { color: #dce9f7; margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.site-footer { background: #0f1b33; color: #a9b6cc; padding: 56px 0 28px; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { color: #fff; font-size: .9rem; margin-bottom: 12px; }
.footer-grid a { display: block; color: #a9b6cc; padding: 3px 0; }
.footer-grid a:hover { color: #fff; text-decoration: none; }
.footer-grid p { margin-top: 14px; max-width: 320px; line-height: 1.6; }
.footer-logo { display: inline-flex; background: var(--primary); border-radius: 10px; padding: 5px 12px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px !important; font-size: .82rem; }
.footer-bottom a { color: #a9b6cc; }
.site-footer .by-findme { color: #a9b6cc; }
.site-header .currency-toggle { border-radius: 999px; }

@media (max-width: 980px) {
  .hero2 { grid-template-columns: 1fr; gap: 40px; }
  .benefits, .audience, .premium-points { grid-template-columns: repeat(2, 1fr); }
  .site-nav { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .site .wrap { padding: 0 16px; }
  .s-hero { padding: 40px 0 48px; }
  .s-block { padding: 60px 0; }
  .stats-row, .two-offers, .benefits, .audience, .premium-points { grid-template-columns: 1fr; }
  .stats-row > div + div { border-left: 0; border-top: 1px solid #eef1f6; }
  .link-login, .site-header .currency-toggle { display: none; }
  .site-header .wrap { gap: 12px; }
  .fc-1 { left: 8px; top: 8px; } .fc-2 { right: 8px; bottom: 56px; } .fc-3 { left: 8px; bottom: -14px; }
  .offer-card { padding: 26px; }
  .cta-box { padding: 32px 24px !important; }
  .footer-grid { grid-template-columns: 1fr; }
}
.platforms { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; font-size: .8rem; }
.platforms span { color: #6b7686; margin-right: 4px; }
.platforms b { font-weight: 600; background: #f1f5fa; border: 1px solid #e6edf5; border-radius: 999px; padding: 4px 10px; color: #2d3748; }
.s-trust { padding: 36px 0 28px; text-align: center; }
.s-trust p { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8a96a8; margin-bottom: 14px; }
.s-trust img { max-width: 620px; width: 100%; height: auto; mix-blend-mode: multiply; }
.site { overflow-x: clip; }
.hero2-proof { gap: 6px 22px; }
.hero2-proof li { margin: 0; }
@media (max-width: 640px) {
  .link-login { display: inline; font-size: .88rem; }
  .site-header .btn { padding: 8px 14px; font-size: .85rem; }
  .site-logo img { height: 28px !important; }
}
.hero2 h1 { font-size: clamp(2rem, 3.6vw, 3rem); }

/* ======================================================================
   Espace client — design épuré (Inter, barre latérale bleu clair, modules)
   ====================================================================== */
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-feature-settings: "cv11", "ss01"; }
.app-shell { --side-bg: #edf4fc; --side-line: #dde8f5; --side-ink: #2a3a55; --side-muted: #7f8ea6; --app-bg: #f7f9fc;
  --soft-line: #e9edf3; --soft-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 1px 3px rgba(16, 24, 40, .03);
  background: var(--app-bg); color: #101828; letter-spacing: -.006em; }
.app-shell .main { background: var(--app-bg); }

/* barre latérale */
.app-shell .sidebar { background: var(--side-bg); border-right: 1px solid var(--side-line); color: var(--side-ink); padding: 18px 14px; width: auto; }
.app-shell .sidebar .brand { padding: 2px 6px 16px; display: block; }
.app-shell .brand-logo { padding: 0; }
.app-shell .brand-logo .lboost { width: auto; height: 40px; margin: 0; filter: none; background: var(--primary); border-radius: 12px; padding: 6px 14px; box-sizing: content-box; }
.app-shell .nav-module { font-size: .68rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--side-muted); padding: 18px 10px 6px; }
.app-shell .nav a { color: var(--side-ink); font-weight: 500; font-size: .89rem; padding: 7px 10px; border-radius: 9px; gap: 11px; transition: background .15s, color .15s; }
.app-shell .nav a svg { width: 17px; height: 17px; color: #6b7d99; stroke-width: 1.8; }
.app-shell .nav a:hover { background: rgba(30, 101, 173, .07); color: #0f2747; }
.app-shell .nav a.active { background: #fff; color: var(--primary); font-weight: 600; box-shadow: 0 1px 2px rgba(16,24,40,.06), 0 0 0 1px rgba(30,101,173,.08); }
.app-shell .nav a.active svg { color: var(--primary); }
.app-shell .nav a .tag { background: #dfe9f6; color: #4a6283; font-weight: 700; }
.app-shell .nav a.active .tag { background: var(--primary-50); color: var(--primary); }
.app-shell .sidebar-foot { color: var(--side-muted); border-top: 1px solid var(--side-line); margin-top: 18px; }
.app-shell .sidebar-foot .by-findme, .app-shell .sidebar-foot .by-findme strong { color: var(--side-muted); }

/* en-tête */
.app-shell .topbar { background: rgba(255,255,255,.86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--soft-line); padding: 10px 32px; min-height: 64px; gap: 16px; }
.org-name { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .92rem; letter-spacing: .05em; color: #0f1b33; min-width: 0; }
.org-name svg { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--primary-50); color: var(--primary); flex: none; }
.org-name span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 2px;
  background: linear-gradient(transparent 60%, rgba(1, 161, 134, .28) 60%, rgba(1, 161, 134, .28) 92%, transparent 92%); }
.credit-chip { display: inline-flex; align-items: center; gap: 12px; padding: 6px 14px 6px 8px; border-radius: 14px; background: #fff;
  border: 1px solid var(--soft-line); color: #101828; box-shadow: var(--soft-shadow); transition: border-color .15s, box-shadow .15s; }
.credit-chip:hover { text-decoration: none; border-color: #c9d8ea; box-shadow: 0 4px 14px -6px rgba(30,101,173,.3); }
.cc-ico { width: 32px; height: 32px; border-radius: 10px; background: #fff4dc; color: #b77900; display: grid; place-items: center; }
.cc-ico svg { width: 17px; height: 17px; }
.cc-block { display: flex; flex-direction: column; line-height: 1.15; }
.cc-block strong { font-size: .95rem; font-variant-numeric: tabular-nums; }
.cc-block small { font-size: .7rem; color: #667085; font-weight: 500; }
.cc-sep { width: 1px; height: 26px; background: var(--soft-line); }
.app-shell .avatar { background: #0f1b33; color: #fff; }
.demo-note { padding: 6px 32px; font-size: .76rem; color: #8a6a1c; background: #fffaf0; border-bottom: 1px solid #f6ead0; }

/* contenu */
.app-shell .content { padding: 30px 32px 64px; max-width: 1240px; }
.app-shell .page-head { align-items: flex-end; margin-bottom: 24px; }
.app-shell .page-head h1 { font-size: 1.7rem; font-weight: 700; letter-spacing: -.025em; color: #0f1b33; margin-bottom: 6px; }
.app-shell .page-head p { color: #667085; font-size: .95rem; max-width: 720px; line-height: 1.55; }
.eyebrow-app { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--secondary); margin-bottom: 6px; }
.back-link { display: inline-block; font-size: .85rem; color: #667085; margin-bottom: 8px; }
.section-title { display: flex; justify-content: space-between; align-items: baseline; margin: 6px 0 12px; }
.section-title h2, .section-h { font-size: 1.02rem; font-weight: 650; color: #0f1b33; letter-spacing: -.01em; margin: 0; }
.section-h { margin: 26px 0 12px; }
.app-shell .card { border-radius: 16px; border: 1px solid var(--soft-line); box-shadow: var(--soft-shadow); padding: 22px; }
.app-shell .card.flush { padding: 0; overflow: hidden; }
.app-shell .card-head.pad { padding: 18px 20px 4px; }
.app-shell .card h2 { font-size: 1.02rem; font-weight: 650; letter-spacing: -.01em; }
.app-shell .kpi { border-radius: 16px; border: 1px solid var(--soft-line); box-shadow: var(--soft-shadow); padding: 18px 20px; }
.app-shell .kpi .value { font-weight: 700; letter-spacing: -.03em; }
.app-shell .kpi .value.value-sm, .value-sm { font-size: 1.2rem !important; }
.app-shell .btn { border-radius: 10px; font-weight: 600; letter-spacing: -.005em; }
.app-shell .btn.secondary { border-color: #dfe4ec; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.app-shell .btn.success { background: var(--secondary); }
.app-shell .btn svg { width: 16px; height: 16px; }
.app-shell .table-wrap { border: 0; border-radius: 0; }
.app-shell .card .table-wrap { border-radius: 0; }
.app-shell .table th { background: #fafbfc; font-size: .7rem; letter-spacing: .06em; color: #667085; font-weight: 600; }
.app-shell .table td { border-bottom-color: #f0f2f6; }
.app-shell input, .app-shell select, .app-shell textarea { border-radius: 10px; border-color: #dfe4ec; }
.app-shell input:focus, .app-shell select:focus, .app-shell textarea:focus { outline: 3px solid rgba(30,101,173,.14); border-color: var(--primary); }
.danger-text { color: var(--danger) !important; }
.chip { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: #f0f3f7; font-size: .8rem; font-weight: 500; color: #344054; margin: 0 4px 4px 0; }
.chip.green { background: #e3f5f1; color: #0b7c5d; } .chip.amber { background: #fff4dc; color: #8a5a00; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.icon-btn { margin-left: auto; border: 0; background: transparent; color: #98a2b3; cursor: pointer; padding: 4px; border-radius: 8px; }
.icon-btn:hover { background: #fdecec; color: var(--danger); }
.icon-btn svg { width: 16px; height: 16px; }

/* contrôle segmenté (façon Apple) */
.seg { display: inline-flex; background: #eef1f5; border-radius: 11px; padding: 3px; gap: 2px; }
.seg a { padding: 6px 14px; border-radius: 9px; font-size: .85rem; font-weight: 600; color: #475467; white-space: nowrap; }
.seg a:hover { text-decoration: none; color: #101828; }
.seg a.on { background: #fff; color: #101828; box-shadow: 0 1px 3px rgba(16,24,40,.1), 0 1px 2px rgba(16,24,40,.06); }
.seg a em { font-style: normal; color: #98a2b3; font-weight: 500; margin-left: 4px; }

/* devises */
.currency-row { display: flex; justify-content: flex-end; margin: -8px 0 10px; }
.currency-bar { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; color: #667085; margin-bottom: 12px; }
.currency-bar .currency-toggle { background: #eef1f5; border: 0; border-radius: 10px; padding: 3px; }
.currency-bar .currency-toggle button { border-radius: 8px; padding: 4px 10px; color: #475467; font-weight: 600; }
.currency-bar .currency-toggle button.on { background: #fff; color: #101828; box-shadow: 0 1px 3px rgba(16,24,40,.1); }
.page-head .currency-bar, .btn-row .currency-bar { margin-bottom: 0; }

/* KPI */
.kpi-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.kpi2 { background: #fff; border: 1px solid var(--soft-line, #e9edf3); border-radius: 16px; padding: 16px 18px; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.k-label { font-size: .8rem; color: #667085; font-weight: 500; }
.k-value { font-size: 1.75rem; font-weight: 700; letter-spacing: -.035em; color: #0f1b33; margin: 6px 0 8px; font-variant-numeric: tabular-nums; }
.k-unit { font-size: .95rem; font-weight: 600; color: #667085; margin-left: 2px; letter-spacing: 0; }
.k-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.k-delta { font-size: .75rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #f0f3f7; color: #475467; }
.k-delta.good { background: #e3f5f1; color: #0b7c5d; } .k-delta.bad { background: #fdecec; color: #b42318; }
.k-prev { font-size: .72rem; color: #98a2b3; }
.kpi-counter { font-size: .85rem; color: #667085; } .kpi-counter strong { color: var(--primary); font-size: 1rem; }
.kpi-group { margin-bottom: 18px; }
.kg-title { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #98a2b3; margin-bottom: 8px; }
.kpi-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.kpi-opt { margin: 0; cursor: pointer; font-weight: 400; }
.kpi-opt input { position: absolute; opacity: 0; pointer-events: none; }
.ko-box { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 14px 14px 12px; border: 1.5px solid #e4e8ef; border-radius: 14px; background: #fff; transition: border-color .15s, background .15s; height: 100%; }
.ko-box strong { font-size: .9rem; color: #101828; padding-right: 26px; }
.ko-box small { font-size: .78rem; color: #667085; line-height: 1.4; }
.ko-box em { font-style: normal; font-weight: 700; color: #0f1b33; margin-top: 4px; font-variant-numeric: tabular-nums; }
.ko-check { position: absolute; top: 12px; right: 12px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #d0d5dd; display: grid; place-items: center; color: transparent; }
.ko-check svg { width: 12px; height: 12px; stroke-width: 3; }
.kpi-opt input:checked + .ko-box { border-color: var(--primary); background: #f5f9fe; }
.kpi-opt input:checked + .ko-box .ko-check { background: var(--primary); border-color: var(--primary); color: #fff; }
.kpi-opt input:focus-visible + .ko-box { outline: 3px solid rgba(30,101,173,.2); }
.kpi-opt.is-disabled .ko-box { opacity: .5; cursor: not-allowed; }

/* statuts */
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 8px; border-radius: 999px; font-size: .76rem; font-weight: 600; background: #f0f3f7; color: #475467; white-space: nowrap; }
.status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-pill.s-draft { background: #f2f4f7; color: #667085; }
.status-pill.s-submitted, .status-pill.s-in_review { background: #eef4fb; color: #1e65ad; }
.status-pill.s-active { background: #e3f5f1; color: #0b7c5d; }
.status-pill.s-paused { background: #fff4dc; color: #8a5a00; }
.status-pill.s-completed { background: #ecf3ff; color: #344e86; }
.status-pill.s-rejected, .status-pill.s-canceled { background: #fdecec; color: #b42318; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 22px; align-items: start; }
.faq-grid .card + .card { margin-top: 10px; }
.section-title .muted { font-size: .8rem; }
.faq-suggest { padding: 16px 18px !important; }
.faq-suggest.is-done { opacity: .62; }
.fs-head { display: flex; align-items: center; gap: 14px; }
.fs-count { flex: none; width: 40px; height: 40px; border-radius: 12px; background: #eef4fb; color: var(--primary); font-weight: 700; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.fs-text { flex: 1; min-width: 0; }
.fs-text strong { font-size: .93rem; color: #101828; }
.fs-examples { margin-top: 10px; font-size: .84rem; }
.fs-examples summary { cursor: pointer; color: var(--primary); font-weight: 500; }
.fs-examples blockquote { margin: 8px 0 0; padding: 8px 12px; background: #f7f9fc; border-radius: 10px; color: #475467; }
.faq-entry { display: flex; flex-direction: column; gap: 10px; }
.fe-head { display: flex; align-items: center; gap: 10px; }
.fe-question { font-weight: 600; }
.faq-entry.new { border-style: dashed; background: #fbfcfe; }
.empty-soft { text-align: center; color: #667085; }

/* options IA (interrupteurs) */
.options-card { display: flex; flex-direction: column; gap: 4px; }
.opt { display: flex; align-items: center; gap: 20px; padding: 14px 0; border-bottom: 1px solid #f0f2f6; }
.opt:last-of-type { border-bottom: 0; margin-bottom: 8px; }
.opt-text { flex: 1; } .opt-text p { margin: 3px 0 0; color: #667085; font-size: .88rem; }
.switch { position: relative; margin: 0; flex: none; }
.switch input { position: absolute; opacity: 0; }
.switch > span:first-of-type { display: block; width: 46px; height: 28px; border-radius: 999px; background: #d0d5dd; transition: background .2s; position: relative; cursor: pointer; }
.switch > span:first-of-type::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(16,24,40,.25); transition: transform .2s; }
.switch input:checked + span { background: var(--secondary); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 3px solid rgba(1,161,134,.25); }

/* extraction */
.export-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 0 14px; align-items: end; }
.export-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 6px 0 18px; }
.export-summary > div { background: #f7f9fc; border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; }
.export-summary strong { font-size: 1.35rem; letter-spacing: -.02em; }
.export-summary span { font-size: .78rem; color: #667085; }

/* campagnes */
.camp-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 20px; align-items: start; }
.folder-panel { position: sticky; top: 84px; }
.folder-link { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: #344054; font-size: .88rem; font-weight: 500; }
.folder-link svg { width: 16px; height: 16px; color: #667085; }
.folder-link em { margin-left: auto; font-style: normal; font-size: .75rem; color: #98a2b3; }
.folder-link:hover { background: #eef1f5; text-decoration: none; }
.folder-link.active { background: #fff; box-shadow: var(--soft-shadow); color: #101828; font-weight: 600; }
.fp-title { font-size: .68rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #98a2b3; padding: 16px 10px 6px; }
.fdot { width: 10px; height: 10px; border-radius: 3px; flex: none; display: inline-block; }
.fdot.blue { background: #1e65ad; } .fdot.green { background: #01a186; } .fdot.orange { background: #f59e0b; } .fdot.violet { background: #7c5cff; } .fdot.gray { background: #98a2b3; }
.fp-new { margin-top: 10px; }
.fp-new summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; color: var(--primary); font-size: .86rem; font-weight: 600; }
.fp-new summary::-webkit-details-marker { display: none; }
.fp-new summary svg { width: 15px; height: 15px; }
.fp-new form { padding: 8px 10px; display: grid; gap: 8px; }
.color-pick { display: flex; gap: 8px; }
.color-pick label { margin: 0; cursor: pointer; }
.color-pick input { position: absolute; opacity: 0; }
.color-pick .fdot { width: 18px; height: 18px; border-radius: 6px; outline-offset: 2px; }
.color-pick input:checked + .fdot { outline: 2px solid #101828; }
.camp-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid #f0f2f6; flex-wrap: wrap; }
.search-mini input { width: 230px; padding: 7px 12px; }
.camp-name { display: flex; align-items: center; gap: 12px; color: #101828; }
.camp-name:hover { text-decoration: none; } .camp-name:hover strong { color: var(--primary); }
.camp-name span:last-child { display: flex; flex-direction: column; }
.camp-name small { color: #667085; font-size: .78rem; }
.kind-ico { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; }
.kind-ico svg { width: 18px; height: 18px; }
.kind-ico.google_ads { background: #eef4fb; color: var(--primary); }
.kind-ico.ai_visibility { background: #f1edff; color: #6b4de6; }
.kind-ico.social { background: #fff1f3; color: #c01048; }
.folder-tag { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; color: #667085; margin: 6px 0 0 48px; }
.row-actions { width: 44px; }
.menu-dots { position: relative; }
.menu-dots summary { list-style: none; cursor: pointer; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: #667085; font-weight: 700; }
.menu-dots summary::-webkit-details-marker { display: none; }
.menu-dots summary:hover { background: #f0f3f7; }
.menu-dots .dropdown { position: absolute; right: 0; top: 34px; z-index: 10; background: #fff; border: 1px solid var(--soft-line); border-radius: 12px; box-shadow: 0 12px 32px -8px rgba(16,24,40,.2); min-width: 220px; padding: 6px; }
.menu-dots .dropdown a { display: block; padding: 8px 10px; border-radius: 8px; color: #101828; font-size: .88rem; }
.menu-dots .dropdown a:hover { background: #f5f7fa; text-decoration: none; }
.menu-dots .dropdown form { padding: 6px 10px 8px; }
.empty-hero { text-align: center; padding: 56px 24px; }
.eh-ico { width: 56px; height: 56px; border-radius: 16px; background: #eef4fb; color: var(--primary); display: grid; place-items: center; margin: 0 auto 14px; }
.eh-ico svg { width: 26px; height: 26px; }
.empty-hero p { color: #667085; max-width: 420px; margin: 6px auto 18px; }

.type-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.type-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px; background: #fff; border: 1.5px solid var(--soft-line); border-radius: 18px; color: #101828; transition: border-color .15s, box-shadow .15s, transform .15s; }
a.type-card:hover { text-decoration: none; border-color: var(--primary); box-shadow: 0 16px 36px -18px rgba(30,101,173,.45); transform: translateY(-2px); }
.type-card p { color: #667085; font-size: .9rem; margin: 0; flex: 1; }
.type-card strong { font-size: 1.05rem; }
.tc-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #eef4fb; color: var(--primary); margin-bottom: 6px; }
.type-card.ai_visibility .tc-ico { background: #f1edff; color: #6b4de6; }
.type-card.soon { opacity: .6; } .type-card.soon .tc-ico { background: #fff1f3; color: #c01048; }
.type-card.locked { opacity: .75; }
.tc-ico svg { width: 22px; height: 22px; }
.tc-go { display: inline-flex; align-items: center; gap: 4px; color: var(--primary); font-weight: 600; font-size: .88rem; }
.tc-go svg { width: 15px; height: 15px; }
.type-card .badge { align-self: flex-start; }
.ai-callout { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 18px; padding: 18px 22px; border-radius: 16px; background: linear-gradient(120deg, #f5f1ff, #eef6ff); }
.ai-callout p { margin: 4px 0 0; color: #475467; font-size: .9rem; }
.ai-callout strong { display: inline-flex; gap: 8px; align-items: center; } .ai-callout svg { width: 17px; height: 17px; color: #6b4de6; }

.stepper { display: flex; gap: 0; list-style: none; padding: 0; margin: 0 0 20px; counter-reset: step; }
.stepper li { flex: 1; display: flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; color: #98a2b3; counter-increment: step; }
.stepper li::before { content: counter(step); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #eef1f5; color: #98a2b3; font-size: .75rem; flex: none; }
.stepper li::after { content: ""; flex: 1; height: 2px; background: #eef1f5; margin: 0 10px; border-radius: 2px; }
.stepper li:last-child::after { display: none; }
.stepper li.done { color: #0b7c5d; } .stepper li.done::before { content: "✓"; background: #e3f5f1; color: #0b7c5d; } .stepper li.done::after { background: #bfe7dc; }
.stepper li.on { color: #101828; } .stepper li.on::before { background: var(--primary); color: #fff; }
.sticky-side { position: sticky; top: 84px; }
.summary-box .row strong.neg { color: var(--danger); }

.ad-preview { border: 1px solid #e8eaed; border-radius: 14px; padding: 16px 18px; background: #fff; font-family: Arial, Helvetica, sans-serif; max-width: 600px; }
.ad-top { display: flex; gap: 8px; align-items: center; font-size: .8rem; color: #202124; }
.ad-sponsor { font-weight: 700; }
.ad-url { color: #4d5156; }
.ad-title { color: #1a0dab; font-size: 1.15rem; margin: 6px 0 4px; line-height: 1.3; }
.ad-desc { color: #4d5156; font-size: .88rem; line-height: 1.5; }
.ad-ext { display: flex; gap: 16px; font-size: .8rem; color: #4d5156; margin-top: 8px; flex-wrap: wrap; }
.ai-preview { background: linear-gradient(140deg, #f7f5ff, #f3f8ff); border-radius: 14px; padding: 18px; }
.aip-q { display: flex; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 10px; } .aip-q svg { width: 17px; height: 17px; color: #6b4de6; }
.aip-item { background: #fff; border-radius: 10px; padding: 9px 12px; margin-bottom: 6px; font-size: .9rem; }

.insight-card { display: grid; grid-template-columns: 1fr 1fr auto auto; gap: 20px; align-items: center; }
.ins-col { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ins-label { width: 100%; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #98a2b3; }
.ideas-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.ideas-grid .card + .card { margin-top: 0; }
.idea { display: flex; flex-direction: column; gap: 12px; }
.idea-head { display: flex; gap: 12px; align-items: flex-start; }
.idea-head h3 { font-size: 1rem; margin: 2px 0 0; }
.idea-why { color: #475467; font-size: .9rem; margin: 0; }
.mini-ad { border: 1px solid #eceff3; border-radius: 12px; padding: 10px 12px; font-family: Arial, Helvetica, sans-serif; }
.mini-ad .ad-title { font-size: .95rem; margin: 0 0 3px; }
.mini-ad .ad-desc { font-size: .8rem; }
.idea-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px solid #f0f2f6; }

.type-stat { display: block; color: #101828; transition: border-color .15s; }
a.type-stat:hover { text-decoration: none; border-color: #c9d8ea; }
.type-stat.on { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(30,101,173,.1); }
.type-stat.soon { opacity: .6; }
.ts-head { display: flex; align-items: center; gap: 12px; }
.ts-head .small { margin-left: auto; }
.ts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.ts-grid span { display: block; font-size: .74rem; color: #667085; }
.ts-grid strong { font-size: 1.05rem; letter-spacing: -.01em; }
.cards.c2 + .cards.c2, .cards .card + .card { margin-top: 0; }

/* plaque */
.plate-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.ph-visual img { width: 100%; height: auto; border-radius: 14px; display: block; }
.check-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; color: #344054; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 19px; height: 19px; border-radius: 50%; background: #e3f5f1; color: var(--secondary); font-size: .7rem; font-weight: 800; display: grid; place-items: center; }
.ph-price { display: flex; flex-direction: column; margin-bottom: 12px; }
.pp-credits { font-size: 2rem; font-weight: 700; letter-spacing: -.03em; color: #0f1b33; }
.pp-eq { color: #667085; }
.plate-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f0f2f6; }
.plate-row:last-of-type { border-bottom: 0; }

@media (max-width: 1180px) { .kpi-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ideas-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 980px) {
  .faq-grid, .camp-layout, .plate-hero, .insight-card { grid-template-columns: 1fr; }
  .folder-panel, .sticky-side { position: static; }
  .type-grid, .ideas-grid { grid-template-columns: 1fr; }
  .export-form { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .app-shell .content { padding: 20px 16px 48px; }
  .app-shell .topbar { padding: 10px 16px; }
  .kpi-row { grid-template-columns: 1fr 1fr; }
  .export-summary { grid-template-columns: 1fr 1fr; }
  .cc-sep, .cc-block:last-child, .org-name svg { display: none; }
  .credit-chip { padding: 4px 10px 4px 4px; }
  .stepper li { font-size: 0; } .stepper li::before { font-size: .75rem; }
}
@media print { .app-shell .sidebar, .app-shell .topbar, .demo-note, .currency-row { display: none !important; } .app-shell { background: #fff; } }
.faq-public { border-bottom: 1px solid var(--line-2); padding: 10px 0; }
.faq-public summary { cursor: pointer; font-weight: 600; }
.faq-public p { margin: 8px 0 0; color: var(--ink-2); }
.split > * + *, .cards > * + *, .faq-grid > * + *, .camp-layout > * + * { margin-top: 0 !important; }
.app-shell .nav-module { padding: 14px 10px 4px; }
.app-shell .nav a { padding: 6px 10px; }
.app-shell .brand-logo .lboost { height: 30px; padding: 6px 12px; }
.app-shell .sidebar .brand { padding-bottom: 10px; }
.app-shell { --sidebar: 252px; }
.app-shell .menu-toggle svg { width: 22px; height: 22px; color: #344054; }
.app-shell .reply-form textarea { min-height: 64px; }
@media (max-width: 900px) { body.nav-open .app-shell .sidebar { box-shadow: 0 0 0 100vmax rgba(15, 27, 51, .35); } }
/* Logo sans fond bleu : légère ombre pour garder « Local » lisible sur fond clair */
.app-shell .brand-logo .lboost { background: none; padding: 0; border-radius: 0; height: 52px; width: auto;
  filter: drop-shadow(0 1px 1px rgba(15, 27, 51, .55)) drop-shadow(0 0 1px rgba(15, 27, 51, .35)); }
.site-logo { background: none; padding: 0; border-radius: 0; }
.site-logo img { height: 48px !important; filter: drop-shadow(0 1px 1px rgba(15, 27, 51, .55)) drop-shadow(0 0 1px rgba(15, 27, 51, .35)); }
.footer-logo { background: none; padding: 0; }
@media (max-width: 640px) { .site-logo img { height: 38px !important; } }
.app-shell .brand-logo .lboost { width: auto !important; height: 64px; margin-left: 4px; }
.app-shell .brand-logo { align-items: flex-start; } .app-shell .brand-logo .lboost { align-self: flex-start; object-fit: contain; }
/* nom de l'entreprise : surlignage sur toute la longueur, même couleur que le fond de l'icône */
.org-name svg { background: var(--primary-50); }
.org-name span { background: linear-gradient(transparent 52%, var(--primary-50) 52%); padding: 0 6px 1px; border-radius: 3px;
  max-width: none; overflow: visible; text-overflow: clip; }
@media (max-width: 760px) { .org-name span { max-width: 46vw; overflow: hidden; text-overflow: ellipsis; } }
/* Back-office : même structure que l'espace client, déclinée en vert */
.admin-shell { --side-bg: #e9f6f2; --side-line: #d2ebe3; --side-ink: #1f3d36; --side-muted: #6f8f86; }
.admin-shell .nav a svg { color: #5f8379; }
.admin-shell .nav a:hover { background: rgba(1, 161, 134, .08); color: #12352d; }
.admin-shell .nav a.active { color: #017a66; box-shadow: 0 1px 2px rgba(16,24,40,.06), 0 0 0 1px rgba(1,161,134,.14); }
.admin-shell .nav a.active svg { color: var(--secondary); }
.admin-shell .org-name svg { background: var(--secondary-50); color: var(--secondary); }
.admin-shell .org-name span { background: linear-gradient(transparent 52%, var(--secondary-50) 52%); }
.admin-shell .avatar { background: #0f3d34; }
.module-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.module-grid > div { background: #f7f9fc; border-radius: 12px; padding: 12px 14px; }
.module-grid p { margin: 4px 0 0; font-size: .86rem; color: #344054; }
.mg-title { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--secondary); }

/* =========================================================================
   v3 — offres Starter / Pro / Grande entreprise, messagerie, campagnes par canal
   ========================================================================= */
.chips { display: flex; flex-wrap: wrap; margin-top: 8px; }
.compact td, .compact th { padding: 8px 10px; }

/* --- grille des offres --- */
.plans.plans-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.plan .ribbon.dark { background: var(--ink); }
.plan .price .from { display: block; font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 2px; }
.plan-facts { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; padding: 12px 14px; background: #f6f8fb; border-radius: 10px; font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.plan-facts span { display: flex; align-items: center; gap: 8px; }
.plan-facts svg { width: 16px; height: 16px; color: var(--primary); flex: none; }
.plan li.strong { font-weight: 700; }
.plan-enterprise { background: linear-gradient(180deg, #0f1b33 0%, #17284a 100%); color: #e8eef8; border-color: #0f1b33; }
.plan-enterprise .tagline, .plan-enterprise .equiv, .plan-enterprise .price small, .plan-enterprise .price .from { color: #a9b6cc; }
.plan-enterprise .plan-facts { background: rgba(255,255,255,.07); color: #e8eef8; }
.plan-enterprise .plan-facts svg { color: #6fd3bf; }
.site .plan-enterprise li, .plan-enterprise li { color: #dbe4f2; }
.site .plan-enterprise h3, .plan-enterprise h3, .plan-enterprise .price { color: #fff; }
.site .plan-enterprise li::before, .plan-enterprise li::before { background: rgba(111,211,191,.18); color: #6fd3bf; }
.plan-enterprise .ribbon.dark { background: var(--secondary); }
.btn.dark-btn { background: #fff; color: #0f1b33; }
.btn.dark-btn:hover { background: #e8eef8; }
.addon-opt { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 14px; padding: 12px; border: 1px dashed #c9d5e6; border-radius: 10px; cursor: pointer; font-weight: 400; background: #fbfcfe; transition: border-color .15s, background .15s; }
.addon-opt:hover { border-color: var(--primary); }
.addon-opt:has(input:checked) { border-style: solid; border-color: var(--primary); background: var(--primary-50); }
.addon-opt input { margin-top: 3px; accent-color: var(--primary); flex: none; }
.addon-opt strong { display: block; font-size: .88rem; }
.addon-opt small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.4; margin-top: 2px; }
.addon-opt.big { padding: 16px 18px; max-width: 720px; }
.addon-opt.big strong { font-size: .95rem; }

/* --- tableau comparatif --- */
.compare-title { text-align: center; font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; margin: 56px 0 18px; color: #0f1b33; }
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.compare { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 640px; }
.compare th, .compare td { padding: 12px 16px; border-bottom: 1px solid var(--line-2); text-align: center; }
.compare td:first-child, .compare th:first-child { text-align: left; color: var(--ink-2); width: 40%; }
.compare thead th { position: sticky; top: 0; background: #fff; vertical-align: bottom; padding-top: 18px; }
.compare thead th span { display: block; font-size: 1rem; font-weight: 800; color: #0f1b33; }
.compare thead th small { display: block; font-weight: 600; color: var(--muted); font-size: .78rem; margin-top: 2px; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr:hover td { background: #fafbfd; }
.compare .hl { background: #f5f9fe; }
.compare tbody tr:hover td.hl { background: #edf4fc; }
.compare thead th.hl { box-shadow: inset 0 3px 0 var(--primary); }
.compare .yes { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--green-50); color: var(--green); font-weight: 800; font-size: .78rem; }
.compare .no { color: #b8c0cc; }

/* --- page d'accueil premium --- */
.premium-grid { display: block; }
.hero2-text { min-width: 0; }

/* --- changer d'offre --- */
.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.choice { margin: 0; cursor: pointer; font-weight: 400; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.ch-box { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .15s, background .15s; }
.ch-box strong { font-size: 1.02rem; }
.ch-box small { color: var(--muted); }
.ch-box .badge { align-self: flex-start; margin-top: 6px; }
.ch-price { font-weight: 800; font-size: 1.05rem; margin-top: 6px; }
.choice:hover .ch-box { border-color: #b9cce4; }
.choice input:checked + .ch-box { border-color: var(--primary); background: #f5f9fe; box-shadow: 0 0 0 3px rgba(30,101,173,.12); }
.choice input:focus-visible + .ch-box { outline: 3px solid rgba(30,101,173,.25); }
.choice.disabled { cursor: default; }
.choice.disabled .ch-box { background: #fafbfc; }

/* --- puce d'offre dans la barre du haut --- */
.plan-chip { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: var(--secondary-50); color: #0b7c5d; font-size: .76rem; font-weight: 700; white-space: nowrap; margin-left: 10px; }

/* --- rubriques verrouillées --- */
.locked-hero { max-width: 720px; margin: 24px auto; text-align: center; padding: 44px 36px; }
.locked-hero h1 { font-size: 1.6rem; margin-top: 4px; }
.locked-hero p { color: var(--ink-2); max-width: 560px; margin: 10px auto 22px; }
.lh-ico { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 16px; display: grid; place-items: center; background: var(--primary-50); color: var(--primary); }
.lh-ico svg { width: 26px; height: 26px; }
.lock-tag { display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: .72rem; font-weight: 700; color: #8a5a00; background: var(--accent-50); padding: 2px 8px; border-radius: 99px; }
.lock-tag svg { width: 12px; height: 12px; }

/* --- campagnes --- */
.camp-main { min-width: 0; }
.camp-table td:first-child { min-width: 220px; }
.funnel { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.funnel > div { position: relative; padding: 14px 16px; background: #fff; border-right: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 2px; }
.funnel > div:last-child { border-right: 0; }
.funnel > div:nth-child(1) { background: #f5f9fe; } .funnel > div:nth-child(2) { background: #f0f6fd; }
.funnel > div:nth-child(3) { background: #ebf7f4; } .funnel > div:nth-child(4) { background: #e3f5f1; }
.funnel > div:nth-child(5) { background: #dcf1ec; }
.funnel span { font-size: .78rem; font-weight: 600; color: var(--muted); }
.funnel strong { font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; }
.funnel small { color: var(--muted); font-size: .78rem; }
.results-form { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.engine-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.engine { display: flex; flex-direction: column; gap: 8px; padding: 14px; border: 1px solid var(--line-2); border-radius: 10px; }
.engine small { color: var(--muted); }

/* --- aperçu publicité réseaux sociaux --- */
.social-preview { max-width: 380px; margin: 0 auto; border: 1px solid #dfe3e8; border-radius: 12px; overflow: hidden; background: #fff; font-family: -apple-system, "Segoe UI", Roboto, sans-serif; }
.sp-head { display: flex; gap: 10px; align-items: center; padding: 12px; }
.sp-head strong { display: block; font-size: .9rem; } .sp-head small { color: #65676b; font-size: .75rem; }
.sp-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 800; }
.sp-text { padding: 0 12px; font-size: .9rem; margin: 0 0 10px; }
.sp-media { aspect-ratio: 1.91 / 1; background: linear-gradient(135deg, #e8f0f9, #e3f5f1); display: grid; place-items: center; color: #6e7f96; font-size: .82rem; text-align: center; padding: 12px; }
.sp-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; background: #f0f2f5; }
.sp-foot small { display: block; color: #65676b; font-size: .72rem; text-transform: uppercase; }
.sp-foot strong { font-size: .9rem; }
.sp-cta { flex: none; padding: 7px 12px; border-radius: 6px; background: #e4e6eb; font-weight: 700; font-size: .82rem; }

/* --- messagerie : boîte de réception --- */
.inbox { display: grid; grid-template-columns: 340px minmax(0, 1fr); min-height: 560px; }
.inbox-list { border-right: 1px solid var(--line); overflow-y: auto; max-height: 680px; }
.inbox-filters { position: sticky; top: 0; background: #fff; padding: 12px; border-bottom: 1px solid var(--line-2); z-index: 1; overflow-x: auto; }
.seg.small-seg a { padding: 5px 10px; font-size: .8rem; }
.conv { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-bottom: 1px solid var(--line-2); color: var(--ink); text-decoration: none !important; }
.conv:hover { background: #fafbfd; }
.conv.on { background: #f2f7fd; box-shadow: inset 3px 0 0 var(--primary); }
.ch { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--line-2); color: var(--ink-2); }
.ch svg { width: 17px; height: 17px; }
.ch-whatsapp { background: #e6f7ec; color: #1a9c4b; }
.ch-chatbot { background: var(--primary-50); color: var(--primary); }
.ch-messenger { background: #eaf0ff; color: #3062d9; }
.ch-instagram { background: #fdeaf3; color: #c1357a; }
.conv-body { flex: 1; min-width: 0; }
.conv-body strong { display: block; font-size: .9rem; }
.conv-body small { display: block; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.conv-meta small { color: #98a2b3; font-size: .72rem; }
.conv-meta em { font-style: normal; font-size: .7rem; font-weight: 700; border-radius: 99px; padding: 1px 7px; }
.unread { background: var(--primary); color: #fff; }
.tag-l { background: var(--accent-50); color: #8a5a00; }
.tag-q { background: var(--secondary-50); color: #0b7c5d; }
.inbox-thread { display: flex; flex-direction: column; min-width: 0; }
.thread-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 18px; border-bottom: 1px solid var(--line-2); }
.thread-head small { display: block; color: var(--muted); }
.thread-head .btn-row form { display: inline; }
.thread { flex: 1; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: #f7f9fc; overflow-y: auto; max-height: 460px; }
.bubble { max-width: 74%; padding: 10px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line-2); }
.bubble p { margin: 0; white-space: pre-wrap; font-size: .92rem; }
.bubble small { display: block; margin-top: 4px; font-size: .72rem; color: #98a2b3; }
.b-visitor { align-self: flex-start; border-bottom-left-radius: 4px; }
.b-bot { align-self: flex-end; background: #eef4fb; border-color: #dce8f6; border-bottom-right-radius: 4px; }
.b-agent { align-self: flex-end; background: var(--primary); border-color: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.b-agent small { color: rgba(255,255,255,.75); }
.thread-reply { display: flex; gap: 10px; align-items: flex-end; padding: 12px 18px; border-top: 1px solid var(--line-2); }
.thread-reply textarea { flex: 1; resize: vertical; min-height: 44px; }
.contact-edit { padding: 0 18px 14px; }
.contact-edit summary { cursor: pointer; font-size: .85rem; font-weight: 600; color: var(--primary); padding: 6px 0; }
.thread-empty { flex: 1; display: grid; place-items: center; color: var(--muted); padding: 40px; }
.wa-status { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.wa-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--line-2); color: var(--muted); flex: none; }
.wa-status.on .wa-ico { background: #e6f7ec; color: #1a9c4b; }
.wa-ico svg { width: 24px; height: 24px; }

/* --- chatbot sur la page établissement --- */
.chat-widget { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.chat-toggle { display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; padding: 12px 18px; border-radius: 999px; background: var(--primary); color: #fff; font: 700 .92rem var(--font); box-shadow: var(--shadow-lg); }
.chat-toggle svg { width: 20px; height: 20px; }
.chat-panel { width: min(360px, calc(100vw - 32px)); height: 460px; max-height: calc(100vh - 110px); background: #fff; border-radius: 16px; box-shadow: 0 20px 50px rgba(15,27,51,.25); display: flex; flex-direction: column; overflow: hidden; }
.chat-panel[hidden] { display: none; }
.chat-head { position: relative; padding: 14px 44px 12px 16px; background: var(--primary); color: #fff; }
.chat-head strong { display: block; } .chat-head small { opacity: .8; }
.chat-close { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; font-size: 1.1rem; cursor: pointer; }
.chat-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: #f7f9fc; }
.cmsg { max-width: 82%; padding: 9px 12px; border-radius: 14px; font-size: .9rem; white-space: pre-wrap; }
.cmsg.bot { align-self: flex-start; background: #fff; border: 1px solid var(--line-2); border-bottom-left-radius: 4px; }
.cmsg.me { align-self: flex-end; background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.chat-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line-2); }
.chat-form input { flex: 1; min-width: 0; }

/* --- demande de devis --- */
.quote-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.quote-intro h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.03em; color: #0f1b33; line-height: 1.15; margin-top: 8px; }
.quote-intro p { color: #4a5568; font-size: 1.02rem; }
.quote-form { padding: 28px; }

/* --- plaque en option (packs) --- */
.plate-option { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 18px; padding: 16px 20px; border: 1px dashed #c9d5e6; border-radius: 14px; background: #fff; }
.plate-option > div { flex: 1; min-width: 200px; display: flex; flex-direction: column; }
.price-s { font-weight: 800; font-size: 1.1rem; white-space: nowrap; }
.price-s small { font-weight: 600; color: var(--muted); font-size: .8rem; }

/* --- back-office --- */
.check-rows { list-style: none; padding: 0; margin: 0 0 16px; }
.check-rows li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-bottom: 1px solid var(--line-2); }
.check-rows li > span { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 800; }
.check-rows li.ok > span { background: var(--secondary-50); color: #0b7c5d; }
.check-rows li.ko > span { background: var(--accent-50); color: #9a6200; }
.check-rows strong { display: block; font-size: .9rem; } .check-rows small { color: var(--muted); }
.steps { padding-left: 20px; } .steps li { margin-bottom: 6px; }
.enterprise-card { border-top: 3px solid var(--ink); }
.quote-row { margin-bottom: 14px; }

@media (max-width: 1100px) {
  .plans.plans-3 { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 860px) {
  .choice-grid, .engine-grid { grid-template-columns: minmax(0, 1fr); }
  .inbox { grid-template-columns: minmax(0, 1fr); }
  .inbox-list { border-right: 0; border-bottom: 1px solid var(--line); max-height: 320px; }
  .quote-wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .bubble { max-width: 90%; }
  .plan-chip { display: none; }
  .locked-hero { padding: 32px 20px; }
}
@media (max-width: 520px) {
  .currency-bar .currency-toggle { display: inline-flex; }
  .period-switch { max-width: 100%; }
  .period-switch span { padding: 7px 10px; font-size: .8rem; gap: 4px; }
  .period-switch .save { white-space: nowrap; }
}

/* --- menu latéral : rubriques pliables --- */
.app-shell .sidebar { overscroll-behavior: contain; scrollbar-width: thin; }
.nav-group > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; cursor: pointer; user-select: none; border-radius: 6px; }
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group > summary:hover { color: var(--side-ink, #1f2328); }
.nav-group > summary svg { width: 14px; height: 14px; transition: transform .18s; opacity: .7; }
.nav-group[open] > summary svg { transform: rotate(90deg); }
.nav-group > summary:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.nav-group.has-active:not([open]) > summary { color: var(--primary); }

/* --- formulaire de contact et messagerie du back-office --- */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ch-site { background: var(--secondary-50); color: #0b7c5d; }
.src-line { color: #0b7c5d !important; font-weight: 600; }
.source-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--secondary-50); color: #0b7c5d; font-size: .78rem; font-weight: 700; }
.source-badge svg { width: 14px; height: 14px; }
.msg-detail { padding: 18px; display: flex; flex-direction: column; gap: 14px; flex: 1; background: #f7f9fc; }
.msg-detail .dl { background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px; margin: 0; grid-template-columns: 110px 1fr; }
.msg-body { max-width: 100%; }
.msg-form { align-items: flex-end; flex-wrap: wrap; }
.nav a .count.new { background: var(--secondary); color: #fff; font-weight: 700; }
.search-inline input { min-width: 240px; }
@media (max-width: 860px) { .search-inline input { min-width: 0; width: 100%; } }
.form-sec { font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 18px 0 8px; }
.enterprise-fields[hidden] { display: none; }
.reject-box { display: inline-block; position: relative; }
.reject-box > summary { list-style: none; display: inline-flex; }
.reject-box > summary::-webkit-details-marker { display: none; }
.reject-box form { position: absolute; right: 0; top: 110%; z-index: 5; display: flex; gap: 6px; background: #fff; padding: 10px; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-lg); width: 340px; }
.reject-box input { flex: 1; min-width: 0; }

/* --- lancement des campagnes --- */
.status-pill.s-scheduled { background: #f1ecff; color: #5b3fc4; }
.launch-strip { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.ls-step { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 6px; border-radius: 999px; background: #f2f4f7; color: #667085; font-size: .8rem; font-weight: 600; }
.ls-step i { font-style: normal; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #fff; font-size: .72rem; }
.ls-step.done { background: var(--secondary-50); color: #0b7c5d; }
.ls-step.done i { background: var(--secondary); color: #fff; }
.radio-rows { display: flex; flex-direction: column; gap: 8px; margin: 12px 0 14px; }
.radio-rows label { display: flex; gap: 10px; align-items: center; font-weight: 400; margin: 0; cursor: pointer; }
.kw-ideas { margin-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.kw-list { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px; font-size: .84rem; color: var(--muted); }
.kw-chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 4px 11px; font: 500 .8rem var(--font); color: var(--ink-2); cursor: pointer; }
.kw-chip:hover { border-color: var(--primary); color: var(--primary); }
.kw-chip.on { background: var(--secondary-50); border-color: var(--secondary); color: #0b7c5d; }

/* --- validation de la fiche par Google --- */
.verify-card { border-left: 4px solid var(--accent); }
.verify-card h2 { display: flex; align-items: center; gap: 8px; }
.verify-card h2 svg { width: 18px; height: 18px; color: var(--accent); }
.verify-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.verify-opt { margin: 0; cursor: pointer; font-weight: 400; display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1.5px solid var(--line); border-radius: 10px; }
.verify-opt:has(input:checked) { border-color: var(--primary); background: #f5f9fe; }
.verify-opt input { margin-top: 3px; accent-color: var(--primary); }
.verify-opt strong { display: block; font-size: .88rem; } .verify-opt small { color: var(--muted); }
.verify-pin { display: flex; gap: 10px; flex-wrap: wrap; }
.verify-pin input { max-width: 220px; letter-spacing: .2em; font-size: 1.05rem; }

/* --- planning --- */
.todo-list { list-style: none; margin: 0; padding: 0; }
.todo-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.todo-list li:last-child { border-bottom: 0; }
.td-ico { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--primary-50); color: var(--primary); flex: none; }
.td-ico.warn { background: var(--accent-50); color: #9a6200; }
.td-ico svg { width: 16px; height: 16px; }
.td-text { flex: 1; font-size: .92rem; }
.gantt { position: relative; }
.gantt-scale { position: relative; height: 22px; margin-left: 220px; border-bottom: 1px solid var(--line); overflow: hidden; }
.gantt-scale span { position: absolute; top: 0; font-size: .74rem; font-weight: 700; color: var(--muted); padding-left: 6px; border-left: 1px solid var(--line); height: 100%; white-space: nowrap; }
.gantt-scale span::first-letter { text-transform: uppercase; }
.gantt-row { display: flex; align-items: center; gap: 0; padding: 8px 0; border-bottom: 1px solid var(--line-2); color: inherit; text-decoration: none !important; }
.gantt-row:hover { background: #fafbfd; }
.gantt-label { width: 220px; flex: none; padding-right: 12px; min-width: 0; }
.gantt-label strong { display: block; font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gantt-label small { color: var(--muted); }
.gantt-track { position: relative; flex: 1; height: 22px; background: repeating-linear-gradient(90deg, transparent 0 calc(100% / 8.57 - 1px), var(--line-2) calc(100% / 8.57 - 1px) calc(100% / 8.57)); border-radius: 6px; }
.gantt-bar { position: absolute; top: 3px; bottom: 3px; border-radius: 6px; background: var(--primary); }
.gantt-bar.g-social, .lg.g-social { background: #c1357a; }
.gantt-bar.g-ia, .lg.g-ia { background: var(--secondary); }
.gantt-bar.s-paused { opacity: .45; }
.gantt-bar.s-submitted, .gantt-bar.s-in_review, .lg.hatched { background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.45) 0 4px, transparent 4px 8px); }
.gantt-bar.cut-l { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.gantt-bar.cut-r { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.gantt-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 10px; }
.lg { display: inline-block; width: 14px; height: 8px; border-radius: 3px; background: var(--primary); margin-right: -6px; }
.lg.hatched { background-color: #8aa9cc; }
.agenda-week { margin-bottom: 14px; }
.aw-head { font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); padding: 6px 0; border-bottom: 1px solid var(--line-2); }
.agenda-item { display: flex; gap: 14px; padding: 9px 0 9px 12px; border-left: 3px solid var(--line); margin-top: 6px; }
.ai-date { width: 150px; flex: none; font-size: .84rem; font-weight: 600; color: var(--ink-2); }
.ai-date::first-letter { text-transform: uppercase; }
.ai-body strong { display: block; font-size: .9rem; } .ai-body small { color: var(--muted); }
.ai-start { border-left-color: var(--secondary); } .ai-end { border-left-color: var(--primary); }
.ai-billing { border-left-color: var(--accent); } .ai-report { border-left-color: #8a96a8; }
@media (max-width: 760px) {
  .gantt-scale { margin-left: 0; }
  .gantt-row { flex-direction: column; align-items: stretch; gap: 4px; }
  .gantt-label { width: auto; }
  .agenda-item { flex-direction: column; gap: 2px; }
  .ai-date { width: auto; }
}
.lang-en { margin-top: 14px; padding: 14px 16px; background: #f6f8fb; border-radius: 10px; font-size: .9rem; }
.lang-en h3 { margin-top: 0; }
/* bouton conforme aux règles de marque Google */
.gsi-btn { display: inline-flex; align-items: center; gap: 12px; height: 40px; padding: 0 16px 0 12px; border: 1px solid #747775; border-radius: 4px; background: #fff; color: #1f1f1f; font: 500 14px "Roboto", var(--font); cursor: pointer; text-decoration: none !important; white-space: nowrap; }
.gsi-btn:hover { background: #f8faff; box-shadow: 0 1px 2px rgba(60,64,67,.3), 0 1px 3px 1px rgba(60,64,67,.15); }
.gsi-btn:disabled { opacity: .38; cursor: not-allowed; }
.gsi-btn .g-logo { width: 20px; height: 20px; flex: none; }
