/* =========================================================
   kstr — feuille de style principale
   ========================================================= */
:root {
  --primary: #6d28d9;
  --primary-dark: #5b21b6;
  --primary-soft: #f1eafe;
  --accent: #ec4899;
  --grad: linear-gradient(135deg, #6d28d9 0%, #a21caf 55%, #ec4899 100%);
  --text: #1c1a29;
  --muted: #6b6880;
  --border: #e7e5f0;
  --bg: #f7f6fb;
  --card: #ffffff;
  --ok: #059669;   --ok-soft: #e7f8f1;
  --warn: #b45309; --warn-soft: #fdf3e2;
  --danger: #dc2626; --danger-soft: #fdecec;
  --info: #2563eb; --info-soft: #e9f0fe;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(28, 26, 41, .05), 0 4px 16px rgba(28, 26, 41, .06);
  --shadow-lg: 0 10px 40px rgba(76, 29, 149, .16);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.55; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
code { background: rgba(0,0,0,.06); padding: 1px 5px; border-radius: 4px; font-size: .9em; }
hr { border: 0; border-top: 1px solid var(--border); margin: 24px 0; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
.xnarrow { max-width: 460px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.pad-xl { padding-top: 64px; padding-bottom: 64px; }
.mt { margin-top: 24px; } .mb { margin-bottom: 24px; } .mt-s { margin-top: 12px; }
.flex { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.right { margin-left: auto; }
.only-mobile { display: none; }
.hidden { display: none !important; }

/* ---------- Barre démo ---------- */
.demo-bar { background: #fef3c7; color: #78350f; font-size: .85rem; text-align: center; padding: 6px 12px; }

/* ---------- En-tête ---------- */
.site-header { background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
.nav { display: flex; align-items: center; gap: 24px; min-height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--text); letter-spacing: -0.02em; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 1.05rem; }
.logo-light { color: #fff; }
.logo { letter-spacing: -0.03em; }
.logo-baseline { font-weight: 500; font-size: .9rem; letter-spacing: 0; color: var(--muted); padding-left: 12px; margin-left: 2px; border-left: 1px solid var(--border); white-space: nowrap; }
.footer-baseline { margin: 14px 0 0; font-weight: 700; font-size: 1.05rem; background: linear-gradient(90deg, #c4b5fd, #f9a8d4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-links > a, .dropdown-toggle { white-space: nowrap; color: var(--text); padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: .95rem; position: relative; }
.nav-links > a:hover, .dropdown-toggle:hover { background: var(--primary-soft); text-decoration: none; }
.nav-links > a.active { color: var(--primary); background: var(--primary-soft); }
.nav-links > a.btn { color: #fff; margin-left: 4px; }
.lang-switch { display: inline-flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; margin-right: 4px; }
.lang-switch a { padding: 5px 9px; font-size: .78rem; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.lang-switch a:hover { text-decoration: none; background: var(--primary-soft); color: var(--primary); }
.lang-switch a.on { background: var(--text); color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-lang a { display: inline !important; margin: 0 !important; color: rgba(255,255,255,.75) !important; }
.nav-sep { width: 1px; height: 24px; background: var(--border); margin: 0 6px; }
.count { background: var(--accent); color: #fff; border-radius: 99px; font-size: .72rem; padding: 1px 7px; font-weight: 700; margin-left: 2px; }
.nav-icon { display: inline-flex !important; align-items: center; gap: 8px; }
.nav-icon .dot { position: absolute; top: 2px; right: 2px; background: var(--accent); color: #fff; font-size: .65rem; min-width: 17px; height: 17px; border-radius: 99px; display: grid; place-items: center; font-weight: 700; padding: 0 4px; }
.dropdown { position: relative; }
.dropdown-toggle { background: none; border: 0; cursor: pointer; font: inherit; }
.dropdown-menu { position: absolute; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-lg); min-width: 220px; padding: 6px; display: none; z-index: 60; }
.dropdown.open .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--text); font-size: .93rem; }
.dropdown-menu a:hover { background: var(--primary-soft); text-decoration: none; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; width: 42px; height: 42px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 10px; border: 1px solid var(--border); background: #fff; color: var(--text); font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer; transition: transform .12s, box-shadow .12s, background .12s; white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-primary { background: var(--grad); color: #fff; border-color: transparent; }
.btn-primary:hover { box-shadow: 0 8px 24px rgba(109, 40, 217, .35); }
.btn-dark { background: var(--text); color: #fff; border-color: var(--text); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--primary); }
.btn-ghost:hover { background: var(--primary-soft); box-shadow: none; }
.btn-danger { background: #fff; color: var(--danger); border-color: #f5c2c2; }
.btn-success { background: var(--ok); color: #fff; border-color: var(--ok); }
.btn-white { background: #fff; color: var(--primary); border-color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-sm { padding: 7px 14px; font-size: .87rem; border-radius: 8px; }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; border-radius: 12px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.link-btn { background: none; border: 0; color: var(--primary); cursor: pointer; font: inherit; padding: 0; }

/* ---------- Alertes & badges ---------- */
.flashes { padding-top: 16px; }
.alert { padding: 13px 16px; border-radius: 10px; margin-bottom: 12px; border: 1px solid; font-size: .95rem; }
.alert-success { background: var(--ok-soft); border-color: #b5ead3; color: #065f46; }
.alert-error { background: var(--danger-soft); border-color: #f5c2c2; color: #991b1b; }
.alert-info { background: var(--info-soft); border-color: #c7d8fb; color: #1e40af; }
.alert-warn { background: var(--warn-soft); border-color: #f5d9a8; color: #92400e; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: .78rem; font-weight: 600; white-space: nowrap; }
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.badge-warn { background: var(--warn-soft); color: var(--warn); }
.badge-danger { background: var(--danger-soft); color: var(--danger); }
.badge-info { background: var(--info-soft); color: var(--info); }
.badge-muted { background: #efeff4; color: var(--muted); }
.badge-grad { background: var(--grad); color: #fff; }
.tag { display: inline-block; background: var(--primary-soft); color: var(--primary-dark); padding: 3px 10px; border-radius: 99px; font-size: .78rem; font-weight: 600; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.verified { display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: var(--primary); color: #fff; font-size: .62rem; vertical-align: 2px; }
.pf { display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding: 0 5px; border-radius: 6px; font-size: .7rem; font-weight: 800; color: #fff; }
.pf-instagram { background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888); }
.pf-tiktok { background: #111; }
.pf-youtube { background: #ff0000; }
.pf-twitch { background: #9146ff; }
.pf-linkedin { background: #0a66c2; }
.pfs { display: flex; gap: 4px; }
.stars { color: #f59e0b; letter-spacing: 1px; white-space: nowrap; }
.stars small { color: var(--muted); letter-spacing: 0; }
.stars.muted { color: var(--muted); font-size: .85rem; letter-spacing: 0; }

/* ---------- Avatars ---------- */
.avatar { border-radius: 50%; object-fit: cover; flex-shrink: 0; background: #eee; }
.avatar-initials { display: inline-grid; place-items: center; color: #fff; font-weight: 700; background: linear-gradient(135deg, hsl(var(--h), 70%, 55%), hsl(calc(var(--h) + 40), 75%, 45%)); }
.avatar-sm { width: 30px; height: 30px; font-size: .75rem; }
.avatar-md { width: 44px; height: 44px; font-size: .95rem; }
.avatar-lg { width: 60px; height: 60px; font-size: 1.2rem; }
.avatar-xl { width: 116px; height: 116px; font-size: 2.2rem; border: 4px solid #fff; box-shadow: var(--shadow); }

/* ---------- Cartes & grilles ---------- */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); color: inherit; display: block; position: relative; }
a.card:hover { text-decoration: none; border-color: #cfc3f5; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
a.card { transition: transform .15s, box-shadow .15s, border-color .15s; }
.card-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-title h2, .card-title h3 { margin: 0; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.stack > * + * { margin-top: 20px; }
.section { padding: 72px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.eyebrow { display: inline-block; color: var(--primary); font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.page-head { padding: 36px 0 24px; }
.page-head p { color: var(--muted); margin: 0; }
.page-head .flex { align-items: flex-end; }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(236,72,153,.18), transparent 60%), radial-gradient(900px 500px at 0% 0%, rgba(109,40,217,.16), transparent 60%), #fff; padding: 80px 0 72px; border-bottom: 1px solid var(--border); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -0.03em; margin-bottom: 18px; }
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.18rem; color: var(--muted); max-width: 560px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-proof { display: flex; gap: 28px; margin-top: 36px; flex-wrap: wrap; }
.hero-proof strong { display: block; font-size: 1.5rem; }
.hero-proof span { color: var(--muted); font-size: .9rem; }
.hero-visual { position: relative; min-height: 380px; }
.float-card { position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); padding: 16px 18px; border: 1px solid var(--border); }
.float-card.fc1 { top: 0; left: 8%; width: 78%; }
.float-card.fc2 { top: 42%; right: 0; width: 64%; }
.float-card.fc3 { bottom: 0; left: 0; width: 60%; }
.fc-row { display: flex; align-items: center; gap: 12px; }
.fc-bar { height: 8px; border-radius: 99px; background: var(--primary-soft); margin-top: 10px; overflow: hidden; }
.fc-bar i { display: block; height: 100%; background: var(--grad); border-radius: 99px; }

/* ---------- Étapes / fonctionnalités ---------- */
.steps { counter-reset: step; }
.step { padding: 26px; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad); color: #fff; font-weight: 800; margin-bottom: 14px; }
.feature-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 14px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.audience { padding: 32px; border-radius: 20px; }
.audience.brand { background: linear-gradient(160deg, #1c1a29, #3b2170); color: #fff; }
.audience.brand .muted, .audience.brand li { color: rgba(255,255,255,.8); }
.audience.creator { background: linear-gradient(160deg, #fff, #fbe7f3); border: 1px solid var(--border); }
.checklist { list-style: none; padding: 0; margin: 18px 0 24px; }
.checklist li { padding-left: 28px; position: relative; margin-bottom: 10px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 19px; height: 19px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); font-size: .72rem; font-weight: 800; display: grid; place-items: center; margin-top: 3px; }
.audience.brand .checklist li::before { background: rgba(255,255,255,.15); color: #fff; }
.cat-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.cat-chip { padding: 10px 18px; border-radius: 99px; background: #fff; border: 1px solid var(--border); color: var(--text); font-weight: 500; }
.cat-chip:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.cta-band { background: var(--grad); color: #fff; border-radius: 24px; padding: 56px 40px; text-align: center; }
.cta-band p { opacity: .9; font-size: 1.1rem; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--primary); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* ---------- Cartes créateurs / campagnes ---------- */
.inf-card { padding: 20px; overflow: hidden; }
.inf-card.is-featured { border-color: #d9c8fb; background: linear-gradient(180deg, #faf7ff, #fff 60%); }
.ribbon { position: absolute; top: 14px; right: -34px; transform: rotate(45deg); background: var(--grad); color: #fff; font-size: .68rem; font-weight: 700; padding: 4px 40px; }
.inf-head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.inf-head h3 { margin: 0 0 2px; font-size: 1.05rem; }
.inf-head p { margin: 0; }
.inf-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; background: var(--bg); border-radius: 10px; padding: 12px 4px; text-align: center; margin-bottom: 14px; }
.inf-stats > div { min-width: 0; }
.inf-stats strong { display: block; font-size: .95rem; white-space: nowrap; }
.inf-stats span { font-size: .62rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0; display: block; white-space: nowrap; }
.inf-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.camp-card h3 { margin: 12px 0 6px; }
.camp-top { display: flex; align-items: center; gap: 8px; }
.camp-top .badge { margin-left: auto; }
.camp-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.budget { font-weight: 700; color: var(--primary-dark); }
.camp-foot { display: flex; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 12px; }

/* ---------- Mise en page avec filtres ---------- */
.with-sidebar { display: grid; grid-template-columns: 270px 1fr; gap: 28px; align-items: start; padding-bottom: 60px; }
.filters { position: sticky; top: 86px; }
.filters-toggle { display: none; }
.filters .form-group { margin-bottom: 14px; }
.results-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; gap: 12px; flex-wrap: wrap; }
.results-bar select { width: auto; }

/* ---------- Formulaires ---------- */
.form-group { margin-bottom: 18px; }
label, .label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.hint { font-size: .82rem; color: var(--muted); margin-top: 5px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=url], input[type=date], input[type=search], select, textarea {
  width: 100%; padding: 11px 13px; border: 1px solid #d9d6e5; border-radius: 10px; background: #fff; font: inherit; font-size: .95rem; color: var(--text); transition: border-color .12s, box-shadow .12s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(109,40,217,.15); }
textarea { min-height: 110px; resize: vertical; }
input[type=file] { font-size: .9rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.check { display: flex; gap: 9px; align-items: flex-start; font-weight: 400; cursor: pointer; }
.check input { margin-top: 4px; accent-color: var(--primary); }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px 16px; }
.input-suffix { position: relative; }
.input-suffix input { padding-right: 40px; }
.input-suffix span { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .9rem; }
.form-section { border-top: 1px solid var(--border); padding-top: 22px; margin-top: 22px; }
.form-section h3 { margin-bottom: 4px; }
.form-section > p.muted { margin-bottom: 16px; font-size: .92rem; }
.role-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.role-picker label { border: 2px solid var(--border); border-radius: 12px; padding: 16px; cursor: pointer; font-weight: 400; text-align: center; transition: border-color .12s, background .12s; }
.role-picker label strong { display: block; font-size: 1rem; }
.role-picker label span { font-size: .82rem; color: var(--muted); }
.role-picker input { position: absolute; opacity: 0; pointer-events: none; }
.role-picker label:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.social-row { display: grid; grid-template-columns: 110px 1.2fr 1.4fr 1fr 1fr; gap: 10px; align-items: center; margin-bottom: 10px; }
.social-row .pf { width: 100%; height: 42px; font-size: .85rem; border-radius: 10px; }
.auth-card { max-width: 480px; margin: 48px auto 72px; }
.auth-card h1 { font-size: 1.7rem; }

/* ---------- Tableaux ---------- */
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th { text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.table td { padding: 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table .actions { display: flex; gap: 6px; flex-wrap: wrap; }
.inline { display: inline; }

/* ---------- Tableau de bord ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stat { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.stat span { color: var(--muted); font-size: .84rem; display: block; }
.stat strong { font-size: 1.6rem; letter-spacing: -0.02em; display: block; margin-top: 4px; }
.stat.hl { background: var(--grad); color: #fff; border-color: transparent; }
.stat.hl span { color: rgba(255,255,255,.85); }
.dash-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; align-items: start; padding-bottom: 60px; }
.progress { height: 10px; background: var(--primary-soft); border-radius: 99px; overflow: hidden; margin: 10px 0; }
.progress i { display: block; height: 100%; background: var(--grad); }
.list-item { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); }
.list-item:last-child { border-bottom: 0; }
.list-item .grow { flex: 1; min-width: 0; }
.list-item .grow strong, .list-item .grow a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.todo { list-style: none; padding: 0; margin: 0; }
.todo li { padding: 6px 0; font-size: .92rem; }
.todo li.done { color: var(--muted); text-decoration: line-through; }
.notif { padding: 14px 0; border-bottom: 1px solid var(--border); display: flex; gap: 12px; align-items: flex-start; }
.notif.unread::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-top: 8px; flex-shrink: 0; }
.notif.read::before { content: ""; width: 8px; flex-shrink: 0; }

/* ---------- Profil public ---------- */
.profile-cover { height: 180px; background: var(--grad); }
.profile-head { display: flex; gap: 24px; align-items: flex-end; padding: 16px 0 20px; flex-wrap: wrap; }
.profile-head > .avatar { margin-top: -74px; }
.profile-head .info { flex: 1; min-width: 240px; padding-bottom: 6px; }
.profile-head h1 { margin: 0 0 4px; }
.profile-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; align-items: start; padding-bottom: 60px; }
.social-list .list-item strong { font-size: 1.05rem; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: .94rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; text-align: right; }
.review { padding: 16px 0; border-bottom: 1px solid var(--border); }
.review:last-child { border-bottom: 0; }

/* ---------- Collaboration ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; }
.timeline li { flex: 1; text-align: center; font-size: .78rem; color: var(--muted); position: relative; padding-top: 30px; }
.timeline li::before { content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--border); z-index: 1; }
.timeline li::after { content: ""; position: absolute; top: 14px; left: -50%; width: 100%; height: 3px; background: var(--border); }
.timeline li:first-child::after { display: none; }
.timeline li.done { color: var(--text); font-weight: 600; }
.timeline li.done::before { background: var(--primary); border-color: var(--primary); }
.timeline li.done::after { background: var(--primary); }
.price-box { background: var(--bg); border-radius: 12px; padding: 16px; }
.price-box .line { display: flex; justify-content: space-between; padding: 5px 0; font-size: .94rem; }
.price-box .total { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 10px; font-weight: 800; font-size: 1.05rem; }
.rating-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rating-input input { display: none; }
.rating-input label { font-size: 1.8rem; color: #d6d3e0; cursor: pointer; margin: 0; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: #f59e0b; }

/* ---------- Messagerie ---------- */
.chat { display: grid; grid-template-columns: 320px 1fr; height: calc(100vh - 190px); min-height: 480px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 40px; box-shadow: var(--shadow); }
.chat-list { border-right: 1px solid var(--border); overflow-y: auto; }
.chat-list a { display: flex; gap: 12px; padding: 14px 16px; color: var(--text); border-bottom: 1px solid var(--border); align-items: center; }
.chat-list a:hover { background: var(--bg); text-decoration: none; }
.chat-list a.active { background: var(--primary-soft); }
.chat-list .grow { flex: 1; min-width: 0; }
.chat-list .grow strong { display: block; font-size: .94rem; }
.chat-list .grow span { display: block; font-size: .83rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-list .unread-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.chat-main { display: flex; flex-direction: column; min-width: 0; }
.chat-head { padding: 14px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; }
.chat-thread { flex: 1; overflow-y: auto; padding: 20px; background: var(--bg); display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 72%; padding: 10px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--border); font-size: .94rem; word-wrap: break-word; }
.msg.me { align-self: flex-end; background: var(--primary); color: #fff; border-color: var(--primary); border-bottom-right-radius: 4px; }
.msg.them { align-self: flex-start; border-bottom-left-radius: 4px; }
.msg time { display: block; font-size: .7rem; opacity: .7; margin-top: 4px; }
.chat-form { display: flex; gap: 10px; padding: 14px; border-top: 1px solid var(--border); }
.chat-form textarea { min-height: 46px; height: 46px; resize: none; }
.chat-empty { display: grid; place-items: center; height: 100%; color: var(--muted); text-align: center; padding: 20px; }

/* ---------- Tarifs ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 30px; }
.plan.popular { border: 2px solid var(--primary); box-shadow: var(--shadow-lg); }
.plan .price { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; margin: 8px 0 2px; }
.plan .price small { font-size: 1rem; color: var(--muted); font-weight: 500; }
.plan .checklist { flex: 1; }
.plan .pop-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); }

/* ---------- Divers ---------- */
.empty { text-align: center; padding: 48px 20px; background: #fff; border: 1px dashed #d6d1e8; border-radius: var(--radius); }
.empty-icon { font-size: 2rem; color: var(--primary); margin-bottom: 6px; }
.pagination { display: flex; gap: 6px; justify-content: center; margin: 28px 0; }
.pagination a, .pagination span { min-width: 38px; height: 38px; display: grid; place-items: center; border-radius: 9px; border: 1px solid var(--border); background: #fff; font-weight: 600; font-size: .9rem; padding: 0 8px; }
.pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination .dots { border: 0; background: none; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 20px; overflow-x: auto; }
.tabs a { padding: 10px 16px; color: var(--muted); font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a.active { color: var(--primary); border-bottom-color: var(--primary); }
.tabs a:hover { text-decoration: none; color: var(--text); }
.legal h2 { margin-top: 32px; font-size: 1.3rem; }
.legal { padding-bottom: 60px; }

/* ---------- Pied de page ---------- */
.site-footer { background: #15131f; color: #fff; padding: 56px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.6); margin-bottom: 14px; }
.site-footer a:not(.logo) { display: block; color: rgba(255,255,255,.85); margin-bottom: 8px; font-size: .94rem; }
.muted-light { color: rgba(255,255,255,.6); margin-top: 12px; font-size: .94rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 20px; font-size: .85rem; color: rgba(255,255,255,.5); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .logo-baseline { display: none; }
}
@media (max-width: 1200px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 66px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 20px 20px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); gap: 2px; }
  .nav-links.open { display: flex; }
  .nav-links > a.btn { margin: 8px 0 0; }
  .nav-sep { width: 100%; height: 1px; margin: 8px 0; }
  .lang-switch { align-self: flex-start; margin: 4px 0 8px; }
  .dropdown-menu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 12px; }
  .dropdown-toggle { display: none; }
  .only-mobile { display: inline; }
  .nav-icon .dot { position: static; }
  .lang-switch + .lang-switch { margin-top: 0; }
}
@media (max-width: 1440px) {
  .is-logged .logo-baseline { display: none; }
}
@media (max-width: 1024px) {
  .grid-4, .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .with-sidebar, .dash-grid, .profile-grid, .split, .pricing, .grid-2 { grid-template-columns: 1fr; }
  .filters { position: static; }
  .filters-toggle { display: flex; margin-bottom: 12px; }
  .filters:not(.open) { display: none; }
  .chat { grid-template-columns: 1fr; height: auto; }
  .chat-list { max-height: 240px; border-right: 0; border-bottom: 1px solid var(--border); }
  .chat-thread { min-height: 360px; max-height: 60vh; }
  .social-row { grid-template-columns: 1fr 1fr; }
  .social-row .pf { grid-column: 1 / -1; height: 30px; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .grid-3, .grid-4, .stats, .form-row, .form-row-3, .role-picker, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .hero { padding: 52px 0; }
  .cta-band { padding: 40px 22px; }
  .card { padding: 18px; }
  .msg { max-width: 88%; }
  .timeline li { font-size: .66rem; }
}

/* ---------- Devises ---------- */
.approx { color: var(--muted); font-weight: 400; font-size: .78em; white-space: nowrap; }
.stat strong .approx { display: block; font-size: .8rem; margin-top: 2px; }
.stat.hl .approx { color: rgba(255,255,255,.85); }
.cur-switch a { min-width: 26px; text-align: center; }

/* ---------- Statistiques vérifiées ---------- */
.stat-verified { color: var(--ok); font-weight: 600; white-space: nowrap; }

/* Actions groupées (prospection) */
.bulk-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; margin: -4px -4px 8px; border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--border); }
.bulk-bar.has-selection { background: var(--primary-soft); border-color: #d9c8fb; }
.bulk-bar select { width: auto; padding: 6px 10px; font-size: .88rem; }
.bulk-bar .bulk-count { font-size: .9rem; white-space: nowrap; }
.bulk-bar .right { flex: 1; }
.link-btn { background: none; border: 0; padding: 0; color: var(--primary); font: inherit; cursor: pointer; text-decoration: underline; }
.table .col-check { width: 34px; padding-right: 0; }
.table .col-check input { width: 17px; height: 17px; margin: 0; cursor: pointer; accent-color: var(--primary); }
.table tr.row-selected td { background: var(--primary-soft); }
@media (max-width: 640px) { .bulk-bar .right { display: none; } .bulk-bar select { flex: 1; } }
[hidden] { display: none !important; }
.btn-wrap { white-space: normal; text-align: left; max-width: 100%; }

/* Aides du formulaire de campagne */
.helper-box { border: 1px solid var(--border); background: var(--bg); border-radius: var(--radius-sm); padding: 14px 16px; margin: -6px 0 20px; }
.helper-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.helper-score { font-size: .85rem; font-weight: 700; color: var(--muted); background: var(--card); border: 1px solid var(--border); border-radius: 99px; padding: 2px 10px; }
.brief-helper.complete .helper-score { color: var(--ok); border-color: var(--ok); background: var(--ok-soft); }
.brief-checks { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.brief-check { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; padding: 4px 10px 4px 6px; border-radius: 99px; background: var(--card); border: 1px solid var(--border); color: var(--muted); transition: all .15s; }
.brief-check .tick { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #c9c5d9; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; line-height: 1; }
.brief-check.done { color: var(--ok); border-color: #a7e3cc; background: var(--ok-soft); }
.brief-check.done .tick { background: var(--ok); border-color: var(--ok); color: #fff; }
.brief-check.done .tick::after { content: "✓"; }
.warn-text { color: var(--warn); }
.budget-helper { background: var(--primary-soft); border-color: #dccbfb; }
.budget-helper .form-row { margin-bottom: 0; }
.budget-helper .form-group { margin-bottom: 10px; }
.budget-estimate p { margin: 4px 0; }
.budget-estimate .bh-main { font-size: 1.02rem; }
.bh-lines { margin: 0 0 6px; padding-left: 18px; font-size: .9rem; color: var(--muted); }
.budget-verdict:empty { display: none; }
.budget-verdict { margin: 8px 0; padding: 8px 12px; border-radius: 8px; font-size: .9rem; }
.budget-verdict.is-low { background: var(--warn-soft); color: var(--warn); }
.budget-verdict.is-high { background: var(--info-soft); color: var(--info); }
.budget-verdict.is-ok { background: var(--ok-soft); color: var(--ok); }
[data-bh-apply] { margin-right: 8px; }

/* Fenêtre modale */
dialog.modal { border: 0; border-radius: var(--radius); padding: 22px 24px; width: min(860px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: auto; box-shadow: var(--shadow-lg); color: var(--text); }
dialog.modal::backdrop { background: rgba(28, 26, 41, .45); }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.modal-head h2 { margin: 0; font-size: 1.3rem; }
.modal-close { background: none; border: 0; font-size: 1.2rem; cursor: pointer; color: var(--muted); padding: 6px; }
.rate-table td, .rate-table th { font-size: .9rem; }
.rate-table td.nowrap, .nowrap { white-space: nowrap; }
.rate-src { color: var(--primary); font-size: .8em; }
.rate-tips { padding-left: 18px; margin: 12px 0; }
.rate-tips li { margin-bottom: 6px; font-size: .92rem; }
.guide-steps { padding-left: 20px; } .guide-steps li { margin-bottom: 10px; }
.chat-notice { padding: 8px 16px; border-top: 1px solid var(--border); }
.member-gate { text-align: center; background: var(--primary-soft); border: 1px solid #dccbfb; border-radius: var(--radius); padding: 22px 20px; margin: 20px 0 40px; } .member-gate p { margin: 0 0 12px; font-weight: 500; }
