/* CE TRADING — feuille de style unique (CSS3, sans framework). Reprend le design du site Next.js. */
:root {
  --bg: #07090d; --panel: #0c1017; --field: #080b11; --line: rgba(255,255,255,.1); --line-soft: rgba(255,255,255,.05);
  --text: #f1f5f9; --text-2: #cbd5e1; --muted: #94a3b8; --faint: #64748b;
  --amber: #fcd34d; --amber-2: #fde68a; --emerald: #6ee7b7; --rose: #fda4af; --rose-strong: #fb7185; --sky: #7dd3fc;
  --radius: 10px; --radius-sm: 7px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--bg); color: var(--text); font: 15px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
::selection { background: var(--amber); color: #020617; }
a { color: var(--amber); text-decoration: none; }
a:hover { color: var(--amber-2); }
button, a, label[for], summary { cursor: pointer; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
code, .mono { font-family: var(--mono); }
.hidden { display: none !important; }
.economic-calendar { min-width: 0; }
.economic-table { width: 100%; min-width: 0; max-width: 100%; border-collapse: collapse; font-size: 13px; }
.economic-table th, .economic-table td { padding: 12px; text-align: left; border-bottom: 1px solid var(--line); }
.economic-table thead { color: var(--faint); }
.economic-day { background: var(--panel); color: var(--amber); }
.economic-title { font-weight: 600; }
.economic-impact { display: inline-block; padding: 3px 7px; border-radius: 5px; white-space: nowrap; background: rgba(148,163,184,.1); color: var(--text-2); }
.impact-high { background: rgba(244,63,94,.15); color: #fda4af; }
.impact-medium { background: rgba(245,158,11,.15); color: #fcd34d; }
.impact-low { color: #86efac; }
@media (max-width: 1100px) {
  .economic-table, .economic-table tbody { display: block; }
  .economic-table thead { display: none; }
  .economic-day, .economic-day th { display: block; }
  .economic-event { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); margin: 10px 0; }
  .economic-event td { display: flex; flex-direction: column; padding: 0; border: 0; overflow-wrap: anywhere; }
  .economic-event td::before { content: attr(data-label); font-size: 11px; color: var(--faint); }
  .economic-event .economic-title { grid-column: 1 / -1; order: -1; }
  .economic-event .economic-title::before { display: none; }
}
.license-request-form [hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --- Texte --- */
.muted { color: var(--muted); } .faint { color: var(--faint); } .light { color: var(--text-2); }
.small { font-size: 13px; } .tiny { font-size: 12px; } .big { font-size: 20px; }
.strong { font-weight: 650; } .upper { text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 650; }
.c-amber { color: var(--amber); } .c-amber2 { color: var(--amber-2); } .c-emerald { color: var(--emerald); } .c-rose { color: var(--rose); } .c-sky { color: var(--sky); }
.break { word-break: break-all; } .pre { white-space: pre-wrap; word-break: break-word; }
.title { font-size: 22px; font-weight: 750; }
.h2 { font-size: 18px; font-weight: 650; }

/* --- Mise en page --- */
.stack { display: grid; gap: 16px; } .stack-sm { display: grid; gap: 8px; } .stack-lg { display: grid; gap: 24px; }
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.between { justify-content: space-between; } .start { align-items: flex-start; } .end { align-items: flex-end; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 16px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } .span-2 { grid-column: span 2; } }
@media (min-width: 1100px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } .span-3 { grid-column: span 3; } }
.journal-form, .journal-form label, .journal-form input, .journal-form select { min-width: 0; max-width: 100%; }
.journal-trade, .journal-stats > *, .journal-facts > * { min-width: 0; overflow-wrap: anywhere; }
.journal-facts dt { color: var(--muted); font-size: 12px; }
.journal-facts dd { margin: 4px 0 0; font-size: 14px; }
.journal-delete summary { padding: 7px 0; }
.journal-delete form, .journal-notes { margin-top: 12px; }
.journal-delete label { display: flex; }
.journal-delete input { flex-shrink: 0; }
.journal-dashboard, .journal-dashboard .card, .journal-dashboard form, .journal-dashboard label { min-width: 0; max-width: 100%; }
.journal-dashboard .row > div { min-width: 0; }
.journal-periods .btn { flex: 1 1 auto; text-align: center; }
.journal-chart { display: block; width: 100%; height: auto; margin: 12px 0; }
.journal-chart .axis { stroke: var(--muted); stroke-width: 1; }
.journal-chart .gain { fill: var(--emerald); }
.journal-chart .loss { fill: var(--rose); }
.journal-chart .flat { fill: var(--faint); }
.journal-chart text { fill: var(--muted); font: 12px var(--font); }
.journal-activity-list { margin: 12px 0 0; }
.journal-activity-list > div { padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
.journal-activity-list dd { margin: 0; }
.journal-rollover[hidden] { display: none; }
.journal-day, .journal-day label, .journal-day form { min-width: 0; max-width: 100%; }
.journal-day legend { margin-bottom: 12px; }
.journal-history-row { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.weekly-analysis-form, .weekly-analysis-form label, .weekly-analysis-form input, .weekly-analysis-form select, .weekly-analysis-content, .weekly-analysis-card { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.weekly-analysis-check { display: flex; }
.weekly-analysis-check input { flex-shrink: 0; }
.weekly-analysis-chart { margin: 0; display: grid; gap: 8px; }
.weekly-analysis-chart img { max-height: 760px; object-fit: contain; margin: 0 auto; }
.gold-profit-offer > summary { list-style: none; }
.gold-profit-offer > summary::-webkit-details-marker { display: none; }
.gold-profit-offer > .card { margin-top: 16px; text-align: left; }
.narrow { max-width: 720px; }
.center-text { text-align: center; padding-top: 56px; padding-bottom: 56px; }

/* --- Cartes --- */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card-sm { padding: 14px; }
.card.amber { border-color: rgba(252,211,77,.4); background: rgba(252,211,77,.05); }
.card.emerald { border-color: rgba(110,231,183,.4); background: rgba(110,231,183,.06); }
.card.rose { border-color: rgba(253,164,175,.35); background: rgba(253,164,175,.06); }
.card.sky { border-color: rgba(125,211,252,.4); background: rgba(125,211,252,.06); }
.card a.cover, a.card { color: inherit; display: block; }
a.card:hover { border-color: rgba(252,211,77,.5); }
.soft { background: rgba(255,255,255,.03); border-radius: var(--radius-sm); padding: 10px; }
.divider > * + * { border-top: 1px solid var(--line-soft); }
.divider > * { padding: 10px 0; }
dl.facts { display: grid; gap: 12px; margin: 0; }
@media (min-width: 720px) { dl.facts { grid-template-columns: repeat(2, 1fr); } dl.facts.three { grid-template-columns: repeat(3, 1fr); } }
dl.facts dt { font-size: 12px; color: var(--faint); } dl.facts dd { margin: 2px 0 0; color: var(--text-2); word-break: break-word; }

/* --- Boutons --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 8px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: transparent; color: var(--amber); font: 600 14px var(--font); text-align: center; transition: background .15s, border-color .15s; }
.btn:hover { background: rgba(255,255,255,.06); color: var(--amber-2); }
.btn-primary { background: var(--amber); border-color: var(--amber); color: #000; }
.btn-primary:hover { background: var(--amber-2); color: #000; }
.btn-danger { color: var(--rose); } .btn-success { color: var(--emerald); border-color: rgba(110,231,183,.4); }
.btn-block { width: 100%; } .btn-sm { min-height: 32px; padding: 5px 11px; font-size: 13px; }
.btn[disabled], .btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-whatsapp { background: #22c55e; border-color: #22c55e; color: #000; }
.whatsapp-float { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 30; display: grid; place-items: center; width: 60px; height: 60px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: #128c4c; color: #fff; box-shadow: 0 6px 24px rgba(0,0,0,.4); transition: background .15s; }
.whatsapp-float:hover { background: #0b733e; color: #fff; }
.whatsapp-float:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }
.member .content { padding-bottom: 100px; }
@media (max-width: 600px) { .whatsapp-float { width: 54px; height: 54px; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); } }
.link-btn { background: none; border: 0; padding: 0; color: var(--amber); font: inherit; font-size: 13px; }

/* --- Formulaires --- */
label { display: grid; gap: 5px; font-size: 14px; color: var(--text-2); }
.input, input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=datetime-local], input[type=search], select, textarea {
  width: 100%; min-height: 42px; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--field); color: var(--text); font: 14px var(--font); outline: none; transition: border-color .15s; }
textarea { min-height: 100px; resize: vertical; }
.input:focus, input:focus, select:focus, textarea:focus { border-color: var(--amber); }
::placeholder { color: var(--faint); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.license-request-form, .license-request-form label, .license-request-form select { min-width: 0; max-width: 100%; }
.field-label { font-size: 12px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.check { display: flex; gap: 8px; align-items: center; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--text-2); }
.choice input:checked + span { border-color: var(--amber); background: rgba(252,211,77,.1); color: var(--amber-2); }
.choice input:focus-visible + span { outline: 2px solid var(--amber); }
.help { font-size: 12px; color: var(--faint); }
details > summary { color: var(--muted); font-size: 14px; }

/* --- Messages --- */
.flash { padding: 12px 16px; border-radius: var(--radius-sm); border: 1px solid; font-size: 14px; }
.flash.success { border-color: rgba(110,231,183,.4); background: rgba(110,231,183,.08); color: var(--emerald); }
.flash.error { border-color: rgba(253,164,175,.4); background: rgba(253,164,175,.08); color: var(--rose); }
.flash.info { border-color: rgba(252,211,77,.4); background: rgba(252,211,77,.06); color: var(--amber-2); }
.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 650; background: rgba(255,255,255,.06); }
.badge.amber { background: var(--amber); color: #000; } .badge.rose { background: rgba(251,113,133,.2); color: var(--rose); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); margin-right: 6px; vertical-align: middle; }
.status-ACTIVE { color: var(--emerald); } .status-EXPIRED, .status-REVOKED { color: var(--rose); } .status-SUSPENDED { color: var(--amber); } .status-PENDING { color: var(--text-2); }

/* --- Tableaux --- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 680px; font-size: 14px; }
th { text-align: left; padding: 12px 16px; background: rgba(255,255,255,.03); color: var(--faint); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
td { padding: 12px 16px; border-top: 1px solid var(--line-soft); vertical-align: top; }
tr:hover td { background: rgba(255,255,255,.02); }

/* --- Espace membre / admin --- */
.app { display: flex; min-height: 100vh; }
.sidebar { width: 256px; flex-shrink: 0; background: #0b0e14; border-right: 1px solid var(--line); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.sidebar .brand { display: flex; gap: 12px; align-items: center; padding: 20px; border-bottom: 1px solid var(--line); color: var(--text); }
.sidebar .brand img { width: 40px; height: 40px; object-fit: contain; }
.sidebar nav { flex: 1; overflow-y: auto; padding: 16px 12px; }
.nav-title { padding: 0 12px 6px; font-size: 10px; font-weight: 650; text-transform: uppercase; letter-spacing: .2em; color: #475569; }
.nav-group + .nav-group { margin-top: 18px; }
.sidebar nav a { display: flex; align-items: center; justify-content: space-between; min-height: 36px; padding: 0 12px; border-radius: var(--radius-sm); color: var(--muted); font-size: 14px; border: 1px solid transparent; }
.sidebar nav a:hover { background: rgba(255,255,255,.06); color: var(--text); }
.sidebar nav a.active { background: rgba(252,211,77,.12); border-color: rgba(252,211,77,.3); color: var(--amber-2); font-weight: 650; }
.admin .sidebar nav a.active { background: rgba(244,63,94,.18); border-color: rgba(244,63,94,.3); color: var(--rose); }
.sidebar .account { border-top: 1px solid var(--line); padding: 16px; font-size: 13px; }
.main { flex: 1; min-width: 0; }
.page-header { border-bottom: 1px solid var(--line); padding: 20px 24px; }
.page-header .eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .2em; color: var(--amber); }
.admin .page-header .eyebrow { color: var(--rose-strong); }
.page-header .title { margin-top: 6px; }
.content { padding: 24px; display: grid; gap: 22px; align-content: start; }
.menu-toggle { display: none; }
@media (max-width: 1023px) {
  .sidebar { position: fixed; left: 0; top: 0; z-index: 50; transform: translateX(-100%); transition: transform .2s; }
  .sidebar.open { transform: none; box-shadow: 0 0 0 100vmax rgba(0,0,0,.6); }
  .menu-toggle { display: grid; place-items: center; position: fixed; top: 14px; left: 14px; z-index: 40; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #0b0e14; color: var(--text); font-size: 18px; }
  .page-header { padding-left: 66px; }
  .content { padding: 18px; }
}

/* --- Robots (vignettes) --- */
.tile { overflow: hidden; padding: 0; }
.tile .visual { position: relative; aspect-ratio: 16 / 9; background: rgba(0,0,0,.4); display: grid; place-items: center; font-size: 46px; overflow: hidden; }
.tile .visual img { width: 100%; height: 100%; object-fit: cover; }
.tile .visual .lock, .tile .visual .state { position: absolute; top: 12px; right: 12px; background: rgba(0,0,0,.7); border-radius: 999px; }
.tile .visual .lock { width: 36px; height: 36px; display: grid; place-items: center; font-size: 16px; }
.tile .visual .state { padding: 4px 12px; font-size: 12px; font-weight: 650; }
.tile .body { padding: 18px; display: grid; gap: 6px; }
.thumb { width: 96px; height: 96px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(0,0,0,.3); overflow: hidden; display: grid; place-items: center; flex-shrink: 0; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.key-box { padding: 10px; border-radius: var(--radius-sm); background: rgba(0,0,0,.35); font: 13px var(--mono); color: var(--text-2); word-break: break-all; }

/* --- Conversation support --- */
.thread { display: grid; gap: 12px; }
.bubble { max-width: 85%; padding: 14px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.bubble.staff { border-color: rgba(252,211,77,.3); background: rgba(252,211,77,.06); }
.bubble.mine { justify-self: end; } .bubble.theirs { justify-self: start; }

/* --- Pages publiques --- */
.public-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); background: rgba(7,9,13,.9); backdrop-filter: blur(8px); padding: 16px 24px; }
.public-header .inner, .public-footer .inner { max-width: 1152px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--amber-2); font-size: 14px; font-weight: 650; letter-spacing: .18em; }
.logo img { width: 40px; height: 40px; object-fit: contain; }
.hero { position: relative; min-height: min(90vh, 760px); display: grid; place-items: center; overflow: hidden; padding: 96px 24px; text-align: center; }
.hero svg.chart { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero .glow { position: absolute; left: 50%; top: 50%; width: 600px; height: 300px; transform: translate(-50%,-50%); border-radius: 50%; background: rgba(251,191,36,.1); filter: blur(100px); pointer-events: none; }
.hero .inner { position: relative; z-index: 1; display: grid; justify-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 999px; border: 1px solid rgba(252,211,77,.2); background: rgba(252,211,77,.05); color: var(--amber); font-size: 12px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
.pill .dot { animation: pulse 2s infinite; margin: 0; }
@keyframes pulse { 50% { opacity: .35; } }
.hero h1 { margin-top: 24px; font-size: clamp(40px, 12vw, 112px); font-weight: 900; line-height: 1; letter-spacing: -.02em; }
.hero h1 span { color: var(--amber); }
.hero p { margin-top: 24px; max-width: 576px; color: var(--muted); font-size: 18px; line-height: 1.8; }
.hero .actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; width: 100%; max-width: 580px; }
.hero .actions .btn { flex: 1; min-height: 56px; font-size: 17px; }
.hero .actions .btn-primary { box-shadow: 0 0 24px rgba(252,211,77,.35); }
.hero .actions .btn:not(.btn-primary) { color: var(--text); }
.hero .pill { color: var(--amber); margin-top: 24px; justify-content: center; text-align: center; }
/* Accroche sous le titre : texte simple encadré de deux filets dorés (pas de pastille). */
.hero p.pill { max-width: none; line-height: 1.5; border: 0; background: none; border-radius: 0; padding: 0; gap: 16px;
  text-transform: none; letter-spacing: .02em; font-size: clamp(16px, 1.9vw, 21px); font-weight: 500; font-style: italic; color: var(--amber-2); }
.hero p.pill .dot { display: none; }
.hero p.pill::before, .hero p.pill::after { content: ""; width: 48px; height: 1px; flex-shrink: 0; background: linear-gradient(90deg, transparent, var(--amber)); }
.hero p.pill::after { background: linear-gradient(90deg, var(--amber), transparent); }
@media (max-width: 600px) { .hero .actions .btn { font-size: 15px; padding: 8px 10px; white-space: nowrap; min-height: 50px; } .hero p.pill { font-size: 15px; letter-spacing: 0; } .hero p.pill::before, .hero p.pill::after { display: none; } }
.hero h1:first-child { margin-top: 0; }
.hero .hero-hello { margin: 0; font-size: clamp(20px, 2.6vw, 30px); font-weight: 300; letter-spacing: .32em; text-transform: uppercase; color: var(--text-2); }
.hero .hero-hello + h1 { margin-top: 10px; font-size: clamp(36px, 7vw, 72px); letter-spacing: .08em; margin-right: -.08em; }
.public-footer { border-top: 1px solid var(--line); padding: 48px 24px 100px; background: #05070a; }

/* --- Page d'accueil --- */
html { scroll-behavior: smooth; }
.wrap { max-width: 1152px; margin: 0 auto; width: 100%; }
.narrow-wrap { max-width: 820px; }
.language-picker { display: grid; gap: 4px; max-width: 220px; }
.public-header .language-picker { margin-inline-start: auto; }
.language-label { display: flex; gap: 7px; align-items: center; }
.language-label select { width: 160px; max-width: 100%; padding: 7px 9px; font-size: 13px; }
.language-status:empty { display: none; }
.page-header > .language-picker { margin-bottom: 12px; }
.translated-rtl { direction: rtl; text-align: right; }
.translated-ltr { direction: ltr; text-align: left; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 600px) { .public-header .inner > .language-picker { order: 3; flex-basis: 100%; max-width: none; margin-inline-start: 0; justify-items: start; } .language-label select { width: 160px; } }
.biography-header { display: grid; gap: 28px; align-items: center; }
.biography-portrait { display: block; width: 100%; max-width: 280px; height: auto; border-radius: 20px; }
@media (min-width: 640px) { .biography-header { grid-template-columns: 240px minmax(0, 1fr); } }
@media (max-width: 600px) {
  .pill { font-size: 10px; letter-spacing: .1em; }
  .hero { padding: 72px 16px; }
  .hero p { font-size: 16px; }
  .section { padding: 64px 16px; }
  .band, .cta { padding-left: 16px; padding-right: 16px; }
  .public-header { padding: 12px 16px; }
  .public-header .logo { font-size: 12px; letter-spacing: .12em; }
  .public-header .btn { min-height: 34px; padding: 6px 12px; font-size: 13px; }
}
.public-header { padding-bottom: 0; }
.public-header > .inner { padding-bottom: 12px; }
.public-nav { max-width: 1152px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; border-top: 1px solid var(--line-soft); padding: 6px 0; }
.public-nav a { color: var(--muted); font-size: 14px; padding: 7px 12px; border-radius: var(--radius-sm); border-bottom: 2px solid transparent; }
.public-nav a:hover { color: var(--amber-2); background: rgba(255,255,255,.04); }
.public-nav a.active { color: var(--amber-2); font-weight: 650; background: rgba(252,211,77,.1); border-bottom-color: var(--amber); }
.mobile-menu nav > a.active { color: var(--amber-2); background: rgba(252,211,77,.1); font-weight: 650; }
@media (max-width: 960px) { .public-nav { display: none; } .public-header { padding-bottom: 12px; } .public-header > .inner { padding-bottom: 0; } }
/* Pages vitrine */
.page-hero { padding: 64px 24px 40px; background: radial-gradient(ellipse at top, rgba(252,211,77,.1), transparent 60%); border-bottom: 1px solid var(--line-soft); text-align: center; }
.page-hero .wrap { justify-items: center; max-width: 820px; }
.page-hero .section-title { font-size: clamp(20px, 2.6vw, 28px); font-weight: 700; }
.section.tight { padding-top: 48px; padding-bottom: 48px; }
.showcase-intro { display: grid; gap: 24px; align-items: start; }
@media (min-width: 900px) { .showcase-intro { grid-template-columns: 1.6fr 1fr; } }
.prose { display: grid; gap: 14px; }
.prose p { color: var(--text-2); font-size: 16px; line-height: 1.8; }
.center-prose { text-align: center; }
.btn-lg { min-height: 50px; padding: 12px 28px; font-size: 16px; }
/* Galerie : vignettes verticales (captures de téléphone), cadrées sur le haut ; image entière au clic. */
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
@media (max-width: 600px) { .gallery { grid-template-columns: 1fr 1fr; gap: 10px; } }
.gallery figure { margin: 0; display: grid; gap: 8px; }
.gallery a { display: block; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #000; aspect-ratio: 3 / 4; }
.gallery img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .25s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery figcaption { font-size: 13px; color: var(--muted); }
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; align-content: center; gap: 12px; padding: 24px; background: rgba(0,0,0,.9); cursor: zoom-out; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 100px); border-radius: var(--radius-sm); }
.lightbox p { color: var(--text-2); font-size: 14px; text-align: center; }
.card.course, .card.broker { display: grid; gap: 12px; align-content: start; }
.card.course h3 { font-size: 18px; font-weight: 700; }
.course-meta { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.broker-logo { width: 64px; height: 64px; border-radius: var(--radius-sm); background: #fff; display: grid; place-items: center; overflow: hidden; flex-shrink: 0; }
.broker-logo img { width: 100%; height: 100%; object-fit: contain; }
.broker-logo span { color: #000; font-weight: 900; font-size: 20px; }
.contact-grid { display: grid; gap: 20px; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 2fr 1fr; } }
/* Avis et étoiles */
.stars { display: inline-flex; gap: 1px; font-size: 16px; line-height: 1; color: #334155; }
.stars .on { color: var(--amber); }
.stars .half { background: linear-gradient(90deg, var(--amber) 50%, #334155 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stars.lg { font-size: 24px; }
.reviews-head { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; justify-content: space-between; }
.rating-summary { display: flex; align-items: center; gap: 14px; }
.rating-big { font-size: 46px; font-weight: 850; line-height: 1; color: var(--text); }
.card.review { display: grid; gap: 10px; align-content: start; }
.center-text-plain { text-align: center; }
.closed-notice { max-width: 820px; margin: 0 auto; text-align: center; justify-items: center; padding: 36px 28px; }
.closed-notice .prose { max-width: 680px; }
.review-thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.review-thumbs a, .thumb-check img { display: block; width: 72px; height: 72px; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); background: #000; }
.review-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumb-check { display: grid; gap: 4px; font-size: 12px; justify-items: start; }
.thumb-check span { display: flex; gap: 4px; align-items: center; color: var(--muted); }
#donner-avis { scroll-margin-top: 140px; }
input[type=file] { color: var(--muted); font: 13px var(--font); max-width: 100%; }
input[type=file]::file-selector-button { margin-right: 12px; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: transparent; color: var(--amber); font: 600 13px var(--font); cursor: pointer; }
input[type=file]::file-selector-button:hover { background: rgba(255,255,255,.06); }
.star-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 34px; line-height: 1; color: #334155; cursor: pointer; transition: color .1s, transform .1s; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--amber); }
.star-input label:hover { transform: scale(1.12); }
.star-input input:focus-visible + label { outline: 2px solid var(--amber); border-radius: 4px; }
.avatar.photo { object-fit: cover; padding: 0; background: #000; }
.small-avatar { width: 72px; height: 72px; }
.sticky-save { position: sticky; bottom: 0; padding: 12px 0; background: linear-gradient(transparent, var(--panel) 30%); }
.admin-gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.thumb-wide { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; background: #000; }
.thumb-wide img { width: 100%; height: 100%; object-fit: cover; }
.admin-gallery form.row { flex-wrap: nowrap; }
.sep { border: 0; border-top: 1px solid var(--line-soft); margin: 8px 0; width: 100%; }
.hero p.lead { color: var(--text-2); }
.section { padding: 88px 24px; scroll-margin-top: 72px; }
.section.alt { background: #0a0d13; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.band { padding: 0 24px 72px; margin-top: -40px; position: relative; z-index: 2; }
.kicker { color: var(--amber); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.section-title { font-size: clamp(26px, 4vw, 38px); font-weight: 800; line-height: 1.2; margin-top: 8px; }
.section-head { display: grid; gap: 8px; text-align: center; justify-items: center; max-width: 680px; margin: 0 auto; }
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.2fr 1fr; } }
.feature-list ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.feature-list li { padding-left: 28px; position: relative; color: var(--text-2); }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--amber); font-weight: 800; }
.card.value { display: grid; gap: 10px; align-content: start; transition: border-color .2s, transform .2s; }
.card.value:hover { border-color: rgba(252,211,77,.4); transform: translateY(-3px); }
.card.value h3 { font-size: 18px; font-weight: 700; }
.card.value p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.card.value .icon { font-size: 28px; }
.card.value .num { font-size: 30px; font-weight: 900; color: var(--amber); opacity: .85; }
.steps .num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--amber); color: #000 !important; font-size: 20px !important; opacity: 1 !important; }
.pillar-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; border-left: 3px solid var(--amber); padding-left: 12px; }
.pillar-head h3 { font-size: 20px; font-weight: 800; }
.card.feature { padding: 18px; }
.tag { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.06); color: var(--faint); letter-spacing: .04em; }
.tag.on { background: rgba(110,231,183,.12); color: var(--emerald); }
/* Téléphone : rubriques en 2 colonnes compactes, sans le texte détaillé. */
@media (max-width: 600px) {
  #plateforme .grid-4 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card.feature { padding: 12px; gap: 6px; }
  .card.feature p { display: none; }
  .card.feature h3 { font-size: 14px; }
  .card.feature .icon { font-size: 22px; }
  .card.feature .tag { font-size: 9px; padding: 2px 6px; }
}
.bot-card .body { gap: 10px; }
.bot-card .btn { margin-top: 6px; }
.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cta { padding: 48px 24px; background: linear-gradient(90deg, rgba(252,211,77,.12), rgba(252,211,77,.03)); border-top: 1px solid rgba(252,211,77,.25); border-bottom: 1px solid rgba(252,211,77,.25); }
.cta .row { gap: 20px; }
.center { text-align: center; justify-items: center; }
.center-row { justify-content: center; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; }
.faq details[open] { border-color: rgba(252,211,77,.35); }
.faq summary { color: var(--text); font-weight: 650; font-size: 15px; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: -2px; color: var(--amber); font-size: 22px; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.footer-grid { display: grid; gap: 28px; }
.footer-grid > div { align-content: start; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; } }
/* Menu mobile (sans JavaScript) */
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { list-style: none; cursor: pointer; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--text); font-size: 14px; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav { position: absolute; right: 0; top: calc(100% + 8px); width: min(280px, calc(100vw - 32px)); display: grid; gap: 4px; padding: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.mobile-menu nav > a { padding: 10px 8px; color: var(--text-2); border-radius: var(--radius-sm); }
.mobile-menu nav > a:hover { background: rgba(255,255,255,.05); }
.mobile-menu nav .row { padding-top: 8px; border-top: 1px solid var(--line-soft); margin-top: 4px; }
@media (max-width: 960px) { .mobile-menu { display: block; } .header-account { display: none; } }
/* Accueil : section d'ouverture en deux colonnes */
.hero-split { min-height: 0; text-align: left; place-items: stretch; padding: 72px 24px 88px; }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 40px; align-items: center; }
.hero-text { display: grid; gap: 20px; justify-items: start; max-width: 720px; }
.hero .hero-title { margin: 0; font-size: clamp(32px, 4.6vw, 52px); font-weight: 850; line-height: 1.12; letter-spacing: -.01em; }
.hero-split p.lead { margin: 0; max-width: 560px; font-size: 17px; color: var(--text-2); }
.hero .demo p { margin: 0; max-width: none; line-height: 1.5; }
.hero .demo .tiny { font-size: 12px; } .hero .demo .small { font-size: 13px; }
.hero-actions .btn { min-height: 46px; padding: 10px 22px; }
.demo { margin: 0; display: grid; gap: 8px; }
.demo-window { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(12,16,23,.95); box-shadow: 0 24px 60px rgba(0,0,0,.55); overflow: hidden; }
.demo-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.03); }
.demo-bar span { width: 10px; height: 10px; border-radius: 50%; background: #334155; }
.demo-bar p { margin-left: 8px; font-size: 12px; color: var(--faint); }
.demo-body { padding: 18px; display: grid; gap: 10px; }
.demo-body .btn { pointer-events: none; }
.demo figcaption { font-size: 12px; color: var(--faint); text-align: center; }
.card.service { align-content: start; }
.card.service .btn, .card.service .tag { justify-self: start; margin-top: 4px; }
.clamp-6 { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.more-bots { margin-top: 40px; }
.about { display: grid; gap: 28px; align-items: center; }
@media (min-width: 720px) { .about { grid-template-columns: 160px 1fr; } }
.avatar { width: 140px; height: 140px; border-radius: 50%; display: grid; place-items: center; font-size: 44px; font-weight: 900; color: #000; background: linear-gradient(135deg, var(--amber), #b45309); border: 4px solid rgba(252,211,77,.25); }
.cta.final { padding: 72px 24px; }
.list { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--text-2); font-size: 14px; }
.legal h2 { font-size: 17px; font-weight: 700; margin-top: 12px; }
.legal p { color: var(--text-2); font-size: 15px; line-height: 1.75; }
.risk { font-size: 13px; color: var(--text-2); padding: 12px 16px; border: 1px solid rgba(253,164,175,.3); border-radius: var(--radius-sm); background: rgba(253,164,175,.05); }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line-soft); display: grid; gap: 8px; }
.auth-wrap { min-height: calc(100vh - 73px); display: grid; place-items: center; padding: 40px 16px; }
.auth-card { width: 100%; max-width: 448px; }
.auth-card.wide { max-width: 520px; }
.phone { display: flex; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--field); overflow: hidden; }
.phone .prefix { display: grid; place-items: center; padding: 0 12px; border-right: 1px solid var(--line); color: var(--muted); font-size: 14px; min-width: 64px; }
.phone input { border: 0; border-radius: 0; }

/* Page Avis */
.reviews-page { display: grid; gap: 24px; align-items: start; }
@media (min-width: 960px) { .reviews-page { grid-template-columns: 320px 1fr; } .rating-card { position: sticky; top: 140px; } }
.bars { display: grid; gap: 6px; }
.bar-row { display: grid; grid-template-columns: 38px 1fr 28px; gap: 10px; align-items: center; color: var(--text-2); padding: 2px 4px; border-radius: var(--radius-sm); }
.bar-row:hover, .bar-row.active { background: rgba(252,211,77,.08); color: var(--amber-2); }
.bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.bar .fill { display: block; height: 100%; background: var(--amber); border-radius: 999px; }
.bar .fill.w0 { width: 0%; } .bar .fill.w5 { width: 5%; } .bar .fill.w10 { width: 10%; } .bar .fill.w15 { width: 15%; } .bar .fill.w20 { width: 20%; } .bar .fill.w25 { width: 25%; } .bar .fill.w30 { width: 30%; } .bar .fill.w35 { width: 35%; } .bar .fill.w40 { width: 40%; } .bar .fill.w45 { width: 45%; } .bar .fill.w50 { width: 50%; } .bar .fill.w55 { width: 55%; } .bar .fill.w60 { width: 60%; } .bar .fill.w65 { width: 65%; } .bar .fill.w70 { width: 70%; } .bar .fill.w75 { width: 75%; } .bar .fill.w80 { width: 80%; } .bar .fill.w85 { width: 85%; } .bar .fill.w90 { width: 90%; } .bar .fill.w95 { width: 95%; } .bar .fill.w100 { width: 100%; }
.inline-select { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.inline-select select { min-height: 36px; width: auto; max-width: 280px; }
.bot-discovery > summary { list-style: none; color: #000; }
.bot-discovery > summary::-webkit-details-marker { display: none; }
.bot-discovery > .stack { margin-top: 20px; }
.bot-catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 300px)); gap: 20px; }
.bot-catalog .bot-card .visual { aspect-ratio: 16 / 9; max-height: 170px; font-size: 36px; }
.bot-catalog .bot-card .body { padding: 14px; gap: 8px; }
.bot-catalog .bot-card h3 { font-size: 18px; }
.member-bot-catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 360px)); gap: 18px; }
.member-bot-catalog > .tile { min-width: 0; }
.member-bot-catalog .visual { max-height: 190px; font-size: 2rem; }
.member-bot-catalog .visual img { min-height: 0; object-fit: contain; }
.member-bot-catalog .body { padding: 16px; gap: 8px; }
.member-bot-name { font-size: 1.0625rem; font-weight: 650; line-height: 1.35; overflow-wrap: anywhere; }
.member-bot-detail .member-bot-name { font-size: 1.25rem; }
@media (min-width: 720px) { .member-bot-catalog .member-bot-name { font-size: 1.125rem; } }
.member-bot-detail { width: 100%; max-width: 520px; justify-self: start; }
.member-bot-detail > .visual { height: 180px; aspect-ratio: auto; font-size: 36px; }
.member-bot-detail > .visual img { height: 180px; min-height: 0; max-width: 100%; object-fit: contain; }
.project-wrap { max-width: 960px; }
.member .content .page-hero { display: none; }
.member .content > .section { padding: 16px 0; }
.project-form [hidden] { display: none !important; }
#formulaire-projet { scroll-margin-top: 150px; }
#formulaire-projet[hidden] { display: none !important; }
#formulaire-projet[hidden]:target { display: grid !important; }
.project-form fieldset > legend { margin-bottom: 16px; }
.project-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; list-style: none; padding: 0; margin: 0; }
.project-steps li { padding: 12px; border-bottom: 2px solid var(--line); color: var(--muted); font-size: 13px; }
.project-steps li[aria-current="step"] { color: var(--amber); border-color: var(--amber); font-weight: 700; }
.project-options { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.project-consent { align-items: start; }
.project-consent input { margin-top: 5px; flex-shrink: 0; }
@media (max-width: 600px) { .project-steps { grid-template-columns: 1fr; gap: 4px; } .project-steps li { padding: 7px; } .project-form { padding: 16px; } .project-navigation .btn { width: 100%; } }
