/* =========================================================================
   Artworks Digital V2 — Feuille de styles
   Light mode — palette bleu / bleu foncé en dégradé — responsive
   ========================================================================= */

:root {
    /* Palette bleu */
    --blue-50:  #eff6ff;
    --blue-100: #dbeafe;
    --blue-200: #bfdbfe;
    --blue-300: #93c5fd;
    --blue-400: #60a5fa;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-800: #1e40af;
    --blue-900: #1e3a8a;

    /* Palette violet */
    --purple-50:  #faf5ff;
    --purple-100: #f3e8ff;
    --purple-200: #e9d5ff;
    --purple-300: #d8b4fe;
    --purple-400: #c084fc;
    --purple-500: #a855f7;
    --purple-600: #9333ea;
    --purple-700: #7e22ce;
    --purple-800: #6b21a8;
    --purple-900: #581c87;

    /* Palette orange (galeries) */
    --orange-50:  #fff7ed;
    --orange-100: #ffedd5;
    --orange-200: #fed7aa;
    --orange-300: #fdba74;
    --orange-400: #fb923c;
    --orange-500: #f97316;
    --orange-600: #ea580c;
    --orange-700: #c2410c;
    --orange-800: #9a3412;
    --orange-900: #7c2d12;

    --white: #ffffff;
    --gray-50:  #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    --danger-50: #fef2f2;
    --danger-500: #ef4444;
    --danger-600: #dc2626;
    --success-50: #ecfdf5;
    --success-500: #10b981;
    --warning-50: #fffbeb;
    --warning-600: #d97706;

    --bg: var(--white);
    --bg-soft: var(--gray-50);
    --bg-muted: var(--blue-50);
    --text: var(--gray-900);
    --text-muted: var(--gray-600);
    --text-light: var(--gray-500);
    --border: var(--gray-200);
    --border-strong: var(--gray-300);

    --primary: var(--blue-700);
    --primary-hover: var(--purple-700);
    --primary-soft: var(--blue-50);

    /* Dégradés signature : bleu → violet (portfolio / défaut) */
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 60%, #a855f7 100%);
    --gradient-deep:    linear-gradient(135deg, #1d4ed8 0%, #6d28d9 60%, #7e22ce 100%);
    --gradient-soft:    linear-gradient(180deg, #f5f3ff 0%, #eff6ff 50%, var(--white) 100%);
    --gradient-text:    linear-gradient(120deg, #2563eb 0%, #7c3aed 50%, #a855f7 100%);
    --gradient-glow:    radial-gradient(60% 50% at 80% 0%, rgba(168, 85, 247, .22), transparent 60%),
                        radial-gradient(50% 40% at 20% 100%, rgba(59, 130, 246, .18), transparent 60%);

    /* Dégradés orange — réservés aux galeries */
    --gradient-gallery:      linear-gradient(135deg, #fb923c 0%, #f97316 60%, #ea580c 100%);
    --gradient-gallery-deep: linear-gradient(135deg, #ea580c 0%, #c2410c 60%, #9a3412 100%);
    --gradient-gallery-soft: linear-gradient(180deg, #fff7ed 0%, #fff1e0 50%, var(--white) 100%);
    --gradient-gallery-text: linear-gradient(120deg, #ea580c 0%, #c2410c 50%, #9a3412 100%);
    --gradient-gallery-glow: radial-gradient(60% 50% at 80% 0%, rgba(251, 146, 60, .25), transparent 60%),
                             radial-gradient(50% 40% at 20% 100%, rgba(249, 115, 22, .18), transparent 60%);

    /* Typographie */
    --font-sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    /* Rayons — boutons + carrés */
    --radius-btn: 8px;
    --radius-sm: 8px;
    --radius:    12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 999px;

    /* Ombres */
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
    --shadow:    0 4px 16px rgba(15, 23, 42, .06);
    --shadow-lg: 0 16px 48px rgba(124, 58, 237, .12);
    --shadow-xl: 0 30px 80px rgba(124, 58, 237, .18);
    --shadow-btn: 0 6px 20px rgba(124, 58, 237, .25);
    --shadow-btn-hover: 0 12px 28px rgba(124, 58, 237, .38);

    /* Espacements */
    --gutter: 24px;
    --section-y: 96px;

    /* Transitions / easings */
    --t-fast: 150ms cubic-bezier(.4, 0, .2, 1);
    --t:      280ms cubic-bezier(.22, 1, .36, 1);
    --t-slow: 600ms cubic-bezier(.22, 1, .36, 1);
}

/* =========================================================================
   Reset & base
   ========================================================================= */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-sans);
    /* Mobile-first : 14px par défaut, 15px à partir de 720px */
    font-size: 14px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -.005em;
    -webkit-tap-highlight-color: rgba(124, 58, 237, .15);
    overflow-x: hidden;
}
@media (min-width: 720px) {
    body { font-size: 15px; line-height: 1.65; }
}
/* Empêche les inputs iOS de zoomer (taille mini 16px sur mobile) */
@media (max-width: 720px) {
    input[type="text"], input[type="email"], input[type="password"],
    input[type="tel"], input[type="url"], input[type="search"],
    input[type="number"], textarea, select {
        font-size: 16px !important;
    }
}
/* Touch targets : minimum 44×44 sur les boutons (iOS HIG) */
@media (max-width: 720px) {
    .btn, button, .nav-list a, .nav-flag {
        min-height: 40px;
    }
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--primary-hover); }
button { font-family: inherit; }
h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.18;
    margin: 0 0 .5em;
    color: var(--gray-900);
    letter-spacing: -.015em;
    font-weight: 700;
}
h1 { font-size: clamp(1.9rem, 3.6vw, 2.85rem); }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.15rem); }
h3 { font-size: 1.1rem; font-weight: 600; font-family: var(--font-sans); letter-spacing: -.005em; }
h4 { font-size: .95rem; font-weight: 600; font-family: var(--font-sans); }
p  { margin: 0 0 1em; }

/* === Note curatoriale (IA) === */
.curatorial-fieldset {
    background: linear-gradient(135deg, rgba(168, 85, 247, .04) 0%, rgba(59, 130, 246, .04) 100%);
    padding: 18px;
    border-radius: var(--radius);
    border: 1px solid var(--purple-100) !important;
}
.curatorial-fieldset legend {
    background: var(--white);
    padding: 4px 10px;
    border-radius: 999px;
    color: var(--purple-700) !important;
}
.curatorial-fieldset textarea {
    font-style: italic;
    line-height: 1.7;
}

/* Public quote : blockquote stylé */
.curatorial-quote {
    position: relative;
    margin: 0;
    padding: 36px 28px 28px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--purple-500);
}
body.theme-gallery .curatorial-quote { border-left-color: var(--orange-500); }

.curatorial-mark {
    position: absolute;
    top: -8px; left: 22px;
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 1;
    color: var(--purple-300);
    font-weight: 700;
}
body.theme-gallery .curatorial-mark { color: var(--orange-300); }

.curatorial-quote p {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.1rem, 1.8vw, 1.35rem);
    line-height: 1.65;
    margin: 0 0 16px;
    color: var(--gray-800);
}

.curatorial-footer {
    font-size: .82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
    margin-top: 8px;
}

/* Mots-clés / accents dans les titres : gradient bleu→violet en italique */
.accent {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-style: italic;
    font-weight: inherit;
}

.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: var(--primary); color: var(--white);
    padding: 12px 16px; z-index: 999; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* =========================================================================
   Layout
   ========================================================================= */

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.container-narrow { max-width: 760px; }

.section { padding: var(--section-y) 0; }
.section-alt { background: var(--bg-soft); }
.section-header { text-align: center; max-width: 740px; margin: 0 auto 56px; }
.section-header h2 { margin-bottom: 12px; }
.section-lead { color: var(--text-muted); font-size: .98rem; }

.eyebrow {
    display: inline-block;
    margin: 0 0 14px;
    padding: 5px 12px;
    background: var(--purple-50);
    color: var(--purple-700);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    border-radius: var(--radius-pill);
    border: 1px solid var(--purple-100);
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-style: italic;
}

/* =========================================================================
   Header
   ========================================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .8);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: background var(--t), border-color var(--t), box-shadow var(--t);
}
.site-header.is-scrolled {
    background: rgba(255, 255, 255, .92);
    border-bottom-color: var(--border);
    box-shadow: 0 4px 24px rgba(15, 23, 42, .04);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 24px;
}
.logo {
    display: inline-flex;
    align-items: center;
    transition: transform var(--t);
}
.logo:hover { transform: translateY(-1px); }
.logo-img {
    height: 44px;
    width: auto;
    border-radius: 8px;
    display: block;
    transition: filter var(--t);
}
.logo-footer .logo-img { height: 56px; opacity: .95; }

.main-nav { display: flex; align-items: center; flex: 1; justify-content: flex-end; min-width: 0; }
.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: nowrap;
}
.nav-list li > a:not(.btn) {
    display: inline-flex;
    align-items: center;
    padding: 8px 10px;
    color: var(--gray-700);
    font-weight: 500;
    font-size: .85rem;
    border-radius: 6px;
    transition: color var(--t-fast);
    white-space: nowrap;
}
.nav-list li > a:not(.btn):hover { color: var(--purple-700); }

/* Dropdowns nav (Découvrir / Explorer) */
.nav-dropdown { position: relative; }
.nav-dropdown details summary {
    list-style: none;
    cursor: pointer;
    padding: 8px 10px;
    color: var(--gray-700);
    font-weight: 500;
    font-size: .85rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    transition: color var(--t-fast), background var(--t-fast);
}
.nav-dropdown details summary::-webkit-details-marker,
.nav-dropdown details summary::marker { display: none; }
.nav-dropdown details summary:hover { color: var(--purple-700); background: var(--purple-50); }
.nav-dropdown details[open] summary { color: var(--purple-700); background: var(--purple-50); }
.nav-dropdown details[open] .cta-caret { transform: rotate(180deg); }

.nav-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 280px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 6px;
    z-index: 70;
    display: flex;
    flex-direction: column;
    gap: 2px;
    animation: cta-menu-pop .22s var(--t);
}
.nav-menu-item {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 10px 12px !important;
    border-radius: 8px;
    text-decoration: none;
    color: var(--gray-900) !important;
    transition: background var(--t-fast);
    white-space: normal !important;
    font-size: .85rem !important;
    font-weight: 400 !important;
}
.nav-menu-item:hover { background: var(--purple-50); }
.nav-menu-icon {
    width: 36px; height: 36px;
    display: grid; place-items: center;
    border-radius: 10px;
    font-size: 1rem;
    flex-shrink: 0;
}
.nav-menu-icon-artist  { background: var(--gradient-primary); color: var(--white); }
.nav-menu-icon-gallery { background: var(--gradient-gallery); color: var(--white); }
.nav-menu-icon-mix     { background: linear-gradient(135deg, var(--purple-500), var(--orange-500)); color: var(--white); }
.nav-menu-body { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.nav-menu-body strong { font-weight: 600; }

/* CTA secondary "Mon espace" */
.nav-cta-secondary {
    background: var(--purple-50);
    color: var(--purple-700) !important;
    font-weight: 600 !important;
    border: 1px solid var(--purple-200);
}
.nav-cta-secondary:hover {
    background: var(--purple-100);
    color: var(--purple-800) !important;
}
body.theme-gallery .nav-cta-secondary {
    background: var(--orange-50);
    color: var(--orange-700) !important;
    border-color: var(--orange-200);
}

/* Logout : icône compact */
.nav-icon-btn {
    width: 34px; height: 34px;
    display: grid; place-items: center;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    color: var(--gray-700);
    font-size: 1rem;
    transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.nav-icon-btn:hover {
    background: var(--danger-50);
    color: var(--danger-600);
    border-color: var(--danger-500);
}

.nav-toggle {
    display: none;
    width: 40px; height: 40px;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
}
.nav-toggle span {
    display: block;
    width: 18px; height: 2px;
    background: var(--gray-800);
    margin: 3px 0;
    transition: transform var(--t), opacity var(--t);
}

.inline-form { display: inline; margin: 0; padding: 0; }

/* =========================================================================
   Boutons
   ========================================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    font-weight: 600;
    font-size: .98rem;
    border: 1px solid transparent;
    border-radius: var(--radius-btn);
    cursor: pointer;
    transition: transform var(--t), box-shadow var(--t), background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}
.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .25) 50%, transparent 70%);
    transform: translateX(-110%);
    transition: transform var(--t-slow);
    pointer-events: none;
}
.btn:hover::before { transform: translateX(110%); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-sm { padding: 9px 16px; font-size: .9rem; border-radius: 6px; }
.btn-lg { padding: 17px 32px; font-size: 1.05rem; border-radius: 10px; }
.btn-block { width: 100%; }

.btn-primary,
.btn-primary:link,
.btn-primary:visited,
a.btn-primary,
button.btn-primary {
    background: var(--gradient-deep);
    color: #fff !important;
    box-shadow: var(--shadow-btn);
    border-color: transparent;
}
.btn-primary:hover,
.btn-primary:focus,
a.btn-primary:hover,
a.btn-primary:focus,
button.btn-primary:hover,
button.btn-primary:focus {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-btn-hover);
}
.btn-primary[disabled],
.btn-primary:disabled { opacity: .65; cursor: not-allowed; }

.btn-ghost {
    background: var(--white);
    color: var(--purple-700);
    border-color: var(--purple-200);
}
.btn-ghost:hover {
    background: var(--purple-50);
    color: var(--purple-800);
    border-color: var(--purple-300);
    transform: translateY(-2px);
}

.btn-light {
    background: var(--white);
    color: var(--purple-800);
}
.btn-light:hover {
    background: var(--purple-50);
    color: var(--purple-900);
    transform: translateY(-2px);
}

.btn-danger {
    background: var(--danger-50);
    color: var(--danger-600);
    border-color: var(--danger-50);
}
.btn-danger:hover { background: var(--danger-500); color: var(--white); }

/* =========================================================================
   Flash messages — toast en haut à droite
   ========================================================================= */

.flash-zone {
    position: fixed;
    top: 88px;
    right: 18px;
    z-index: 80;
    width: min(420px, calc(100vw - 36px));
    pointer-events: none;
}
.flash-zone .container { padding: 0; }
/* Anciens flashes : conservés pour compatibilité éventuelle */
.flash {
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 10px;
    border: 1px solid var(--border);
    font-weight: 500;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    pointer-events: auto;
    animation: flash-slide-in .35s var(--t);
    border-left-width: 4px;
}
@keyframes flash-slide-in {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}
.flash-success { color: #065f46; border-left-color: var(--success-500); }
.flash-success::before { content: '✓ '; font-weight: 700; }
.flash-error   { color: #991b1b; border-left-color: var(--danger-500); }
.flash-error::before { content: '⚠ '; font-weight: 700; }
.flash-info    { color: var(--purple-800); border-left-color: var(--purple-500); }
.flash-info::before { content: 'ℹ '; font-weight: 700; }

/* =========================================================================
   TOASTS — notifications haut-droite, au-dessus de tout
   Vert = success · Rouge = error · Bleu = info
   ========================================================================= */
.toast-stack {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 99999;             /* au-dessus de la nav, modal, sticky-cta */
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(380px, calc(100vw - 32px));
    pointer-events: none;       /* clic passe à travers le wrapper */
}
.toast {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid transparent;
    box-shadow: 0 10px 32px rgba(15, 23, 42, .15), 0 2px 6px rgba(15, 23, 42, .08);
    font-size: .92rem;
    font-weight: 500;
    line-height: 1.4;
    color: #0f172a;
    animation: toast-in .32s cubic-bezier(.2, 1, .3, 1);
    position: relative;
    overflow: hidden;
}
.toast.is-leaving { animation: toast-out .25s ease forwards; }
@keyframes toast-in {
    from { opacity: 0; transform: translateX(120%); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes toast-out {
    from { opacity: 1; transform: translateX(0); max-height: 80px; margin-bottom: 10px; }
    to   { opacity: 0; transform: translateX(120%); max-height: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0; }
}

/* Icône à gauche : pastille colorée */
.toast-icon {
    flex-shrink: 0;
    width: 28px; height: 28px;
    display: grid; place-items: center;
    border-radius: 50%;
    color: #fff;
    font-weight: 800;
    font-size: .92rem;
    line-height: 1;
}
.toast-msg {
    flex: 1 1 auto;
    word-break: break-word;
}
.toast-close {
    flex-shrink: 0;
    background: transparent;
    border: 0;
    color: #64748b;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 6px;
    transition: background .15s ease, color .15s ease;
}
.toast-close:hover { background: #f1f5f9; color: #0f172a; }

/* Variantes couleur — accent à gauche + icône colorée */
.toast-success {
    border-color: #bbf7d0;
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
}
.toast-success .toast-icon { background: #16a34a; }

.toast-error {
    border-color: #fecaca;
    background: linear-gradient(180deg, #fef2f2 0%, #ffffff 100%);
}
.toast-error .toast-icon { background: #dc2626; }

/* "info" + tout le reste (warning inclus) → bleu */
.toast-info,
.toast-warning,
.toast-message {
    border-color: #bfdbfe;
    background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
}
.toast-info .toast-icon,
.toast-warning .toast-icon,
.toast-message .toast-icon { background: #2563eb; }

/* Barre de progression d'auto-dismiss en bas du toast */
.toast::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    height: 2px;
    width: 100%;
    background: currentColor;
    opacity: .35;
    transform-origin: left;
    animation: toast-progress 5s linear forwards;
}
.toast-success::after { color: #16a34a; }
.toast-error::after   { color: #dc2626; }
.toast-info::after,
.toast-warning::after,
.toast-message::after { color: #2563eb; }
@keyframes toast-progress {
    from { transform: scaleX(1); }
    to   { transform: scaleX(0); }
}

/* Mobile : toasts plus compacts, plein largeur disponible */
@media (max-width: 600px) {
    .toast-stack { top: 10px; right: 10px; left: 10px; width: auto; }
    .toast { font-size: .88rem; padding: 10px 12px; }
}

/* Pause auto-dismiss au survol */
.toast:hover::after { animation-play-state: paused; }
.toast:hover { transform: translateX(-4px); transition: transform .15s ease; }

/* Reduce motion : on coupe les animations */
@media (prefers-reduced-motion: reduce) {
    .toast { animation: none; }
    .toast::after { animation: none; opacity: 0; }
}

/* =========================================================================
   HERO (landing)
   ========================================================================= */

.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(60px, 8vw, 100px) 0 clamp(60px, 8vw, 110px);
    background: var(--gradient-soft);
}
.hero-bg {
    position: absolute; inset: 0;
    background: var(--gradient-glow);
    pointer-events: none;
    animation: glow-drift 18s ease-in-out infinite alternate;
}
@keyframes glow-drift {
    0%   { transform: translate3d(0, 0, 0) scale(1); }
    100% { transform: translate3d(-2%, 1%, 0) scale(1.08); }
}
.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 64px;
    align-items: center;
}
.hero h1 { margin-bottom: 18px; }
.hero .lead { font-size: 1.02rem; color: var(--text-muted); max-width: 540px; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-trust {
    display: flex;
    gap: 32px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}
.hero-trust li { display: flex; flex-direction: column; }
.hero-trust strong {
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-family: var(--font-display);
    font-style: italic;
}
.hero-trust span { color: var(--text-light); font-size: .8rem; }

/* Mockup visuel */
.hero-visual { display: flex; justify-content: center; }
.mockup {
    width: 100%;
    max-width: 480px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--blue-100);
    transform: rotate(-1.5deg);
    transition: transform var(--t);
}
.mockup:hover { transform: rotate(0); }
.mockup-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 14px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--border);
}
.mockup-bar span:not(.mockup-url) {
    width: 10px; height: 10px; border-radius: 50%; background: var(--gray-300);
}
.mockup-url {
    margin-left: 14px;
    flex: 1;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: .75rem;
    color: var(--text-light);
    font-family: ui-monospace, SFMono-Regular, monospace;
}
.mockup-body { padding: 20px; }
.mockup-cover {
    height: 90px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    margin-bottom: -36px;
}
.mockup-profile { display: flex; align-items: center; gap: 14px; padding: 0 8px; }
.mockup-avatar {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-200), var(--blue-400));
    border: 4px solid var(--white);
    box-shadow: var(--shadow-sm);
}
.mockup-info { flex: 1; padding-top: 36px; }
.mockup-name { width: 60%; height: 12px; background: var(--gray-200); border-radius: 4px; margin-bottom: 8px; }
.mockup-bio  { width: 80%; height: 8px; background: var(--gray-100); border-radius: 4px; }
.mockup-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.mockup-art {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--blue-100), var(--blue-300));
    border-radius: var(--radius-sm);
}
.mockup-art:nth-child(2) { background: linear-gradient(135deg, var(--blue-200), var(--blue-500)); }
.mockup-art:nth-child(3) { background: linear-gradient(135deg, var(--blue-300), var(--blue-700)); }
.mockup-art:nth-child(4) { background: linear-gradient(135deg, var(--blue-400), var(--blue-800)); }

/* =========================================================================
   Cards (avantages, features)
   ========================================================================= */

.cards-grid {
    display: grid;
    gap: 28px;
}
.cards-grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--purple-200);
}
.card-feature h3 { margin-bottom: 8px; font-size: 1.05rem; }
.card-feature p { color: var(--text-muted); margin: 0; font-size: .92rem; }
.card-icon {
    width: 48px; height: 48px;
    display: grid; place-items: center;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 12px;
    margin-bottom: 18px;
    box-shadow: 0 6px 16px rgba(124, 58, 237, .25);
}
.card-icon svg { width: 22px; height: 22px; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.feature {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.feature:hover { border-color: var(--purple-300); box-shadow: var(--shadow); transform: translateY(-3px); }
.feature-icon { font-size: 1.6rem; margin-bottom: 10px; }
.feature h3 { margin-bottom: 4px; font-size: 1rem; }
.feature p { color: var(--text-muted); margin: 0; font-size: .88rem; }

/* =========================================================================
   Demo CTA
   ========================================================================= */

.demo-cta { text-align: center; }

/* =========================================================================
   Steps
   ========================================================================= */

.steps {
    list-style: none;
    margin: 0; padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    counter-reset: step;
}
.steps li {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: relative;
}
.steps li:hover { transform: translateY(-4px); border-color: var(--purple-200); box-shadow: var(--shadow-lg); }
.step-num {
    display: inline-grid;
    place-items: center;
    width: 40px; height: 40px;
    background: var(--gradient-deep);
    color: var(--white);
    border-radius: 50%;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .95rem;
    margin-bottom: 14px;
    box-shadow: 0 6px 18px rgba(124, 58, 237, .3);
}
.steps h3 { margin-bottom: 4px; font-size: 1.05rem; }
.steps p  { color: var(--text-muted); margin: 0; font-size: .9rem; }

/* =========================================================================
   FAQ
   ========================================================================= */

.faq details {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 10px;
    overflow: hidden;
    transition: border-color var(--t), box-shadow var(--t);
}
.faq details[open] { border-color: var(--purple-300); box-shadow: var(--shadow); }
.faq summary {
    cursor: pointer;
    padding: 18px 22px;
    font-weight: 600;
    font-size: .95rem;
    color: var(--gray-900);
    list-style: none;
    position: relative;
    padding-right: 52px;
    transition: color var(--t-fast);
}
.faq summary:hover { color: var(--purple-700); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: '+';
    position: absolute;
    right: 20px; top: 50%;
    transform: translateY(-50%);
    width: 24px; height: 24px;
    display: grid; place-items: center;
    background: var(--purple-50);
    color: var(--purple-700);
    border-radius: 6px;
    font-size: 1.1rem;
    line-height: 1;
    transition: transform var(--t), background var(--t-fast);
}
.faq details[open] summary::after { content: '−'; transform: translateY(-50%) rotate(180deg); background: var(--gradient-primary); color: var(--white); }
.faq p { padding: 0 22px 20px; color: var(--text-muted); margin: 0; font-size: .92rem; }

/* =========================================================================
   CTA final
   ========================================================================= */

.cta-final { padding: 80px 0; }
.cta-card {
    background: var(--gradient-deep);
    border-radius: var(--radius-xl);
    padding: clamp(40px, 6vw, 72px);
    color: var(--white);
    text-align: center;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}
.cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 70% at 80% 0%, rgba(255, 255, 255, .15), transparent 60%);
    pointer-events: none;
}
.cta-card h2 { color: var(--white); position: relative; }
.cta-card h2 .accent,
.portfolio-cta h2 .accent {
    background: linear-gradient(120deg, #c4b5fd 0%, #f5d0fe 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-style: italic;
}
.cta-card p  { color: rgba(255, 255, 255, .85); margin-bottom: 28px; position: relative; font-size: .98rem; }
.cta-card .btn { position: relative; }

/* =========================================================================
   Footer
   ========================================================================= */

.site-footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding-top: 64px;
    margin-top: 80px;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 2fr;
    gap: 48px;
    padding-bottom: 48px;
}
.footer-brand .logo { color: var(--white); }
.footer-brand p { color: var(--gray-400); margin-top: 14px; max-width: 320px; font-size: .9rem; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-nav h4 { color: var(--white); margin-bottom: 14px; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 6px; }
.footer-nav a { color: var(--gray-400); font-size: .9rem; transition: color var(--t-fast); }
.footer-nav a:hover { color: var(--purple-300); }
.footer-bottom {
    border-top: 1px solid #1f2937;
    padding: 24px 0;
    color: var(--gray-500);
    font-size: .9rem;
}

/* =========================================================================
   Auth (signup, login)
   ========================================================================= */

.auth { padding: 80px 0; background: var(--gradient-soft); min-height: calc(100vh - 72px); }
.auth-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-lg);
}
.auth-card h1 { font-size: 2rem; margin-bottom: 8px; }
.auth-card .lead { color: var(--text-muted); margin-bottom: 32px; }
.auth-alt { margin-top: 24px; text-align: center; color: var(--text-muted); }

/* =========================================================================
   Forms
   ========================================================================= */

.form-stack > * + * { margin-top: 18px; }
.form-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
}
.form-card-title {
    font-size: 1.1rem;
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
    color: var(--blue-800);
}
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field-full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: .92rem; color: var(--gray-700); }
.form-field .muted { color: var(--text-light); font-weight: 400; font-size: .85rem; }
.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    background: var(--white);
    color: var(--text);
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-field textarea { resize: vertical; min-height: 80px; }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    outline: none;
    border-color: var(--blue-500);
    box-shadow: 0 0 0 4px var(--blue-100);
}
.form-actions { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }

.photo-upload { display: flex; align-items: center; gap: 16px; }
.photo-preview {
    width: 80px; height: 80px; border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    display: grid; place-items: center;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    overflow: hidden;
    flex-shrink: 0;
}
.photo-preview img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================================
   Editor dashboard (espace artiste)
   ========================================================================= */

.page-editor { background: var(--bg-soft); }
.page-editor .site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.dash {
    display: grid;
    grid-template-columns: 248px 1fr;
    gap: 0;
    max-width: 1320px;
    margin: 0 auto;
    min-height: calc(100vh - 73px);
}

/* ----- Sidebar (desktop) ----- */
.dash-side {
    background: var(--white);
    border-right: 1px solid var(--border);
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 73px;
    align-self: start;
    height: calc(100vh - 73px);
    overflow-y: auto;
}
.dash-side-head {
    padding: 8px 8px 16px;
    border-bottom: 1px solid var(--border);
}
.dash-side-eyebrow {
    font-size: .66rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--purple-700);
    margin: 0 0 4px;
    font-weight: 700;
}
.dash-side-name {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
}

.dash-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}
.dash-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    color: var(--gray-700);
    font-weight: 500;
    font-size: .9rem;
    text-decoration: none;
    border-radius: 8px;
    transition: background var(--t-fast), color var(--t-fast);
    position: relative;
}
.dash-nav a:hover { background: var(--purple-50); color: var(--purple-800); }
.dash-nav a.is-active {
    background: var(--gradient-deep);
    color: var(--white);
    box-shadow: var(--shadow-btn);
}
.dash-nav a.is-active .dash-nav-icon { filter: brightness(0) invert(1); opacity: .95; }
.dash-nav-icon {
    font-size: 1.05rem;
    width: 22px;
    text-align: center;
}
.dash-side-foot {
    padding-top: 14px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Drawer mobile : hidden by default, opens with toggle */
.dash-side-toggle {
    display: none;
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 60;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--gradient-deep);
    color: var(--white);
    border: none;
    box-shadow: var(--shadow-btn-hover);
    cursor: pointer;
    font-size: 1.4rem;
    align-items: center;
    justify-content: center;
}

/* ----- Main content ----- */
.dash-main {
    padding: 36px 44px 64px;
    max-width: 100%;
    overflow-x: hidden;
}

/* ----- Hero (overview) ----- */
.dash-hero {
    background:
        radial-gradient(80% 60% at 100% 0%, rgba(168, 85, 247, .14), transparent 65%),
        radial-gradient(60% 50% at 0% 100%, rgba(59, 130, 246, .12), transparent 60%),
        linear-gradient(135deg, #faf5ff 0%, #eff6ff 100%);
    border: 1px solid var(--purple-100);
    border-radius: var(--radius-xl);
    padding: 36px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: center;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}
.dash-hero::before {
    content: '';
    position: absolute;
    inset: -50% 0 auto 50%;
    height: 280px;
    background:
        radial-gradient(closest-side, rgba(124, 58, 237, .08), transparent);
    pointer-events: none;
    animation: glow-drift 18s ease-in-out infinite alternate;
}
.dash-hero-left { position: relative; }
.dash-hero h1 { font-size: 1.75rem; margin: 6px 0 8px; }
.dash-hero-lead { color: var(--text-muted); margin: 0 0 22px; font-size: .92rem; max-width: 480px; }

/* Share box */
.share-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 6px 6px 6px 14px;
    max-width: 600px;
    box-shadow: var(--shadow-sm);
}
.share-label {
    color: var(--text-light);
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    white-space: nowrap;
}
.share-url {
    flex: 1;
    border: none;
    background: transparent;
    font-family: ui-monospace, SFMono-Regular, monospace;
    font-size: .85rem;
    color: var(--purple-800);
    padding: 6px 4px;
    min-width: 0;
}
.share-url:focus { outline: none; }
[data-share-copy].is-copied { background: var(--success-50); color: #065f46; border-color: #a7f3d0; }

/* Progress ring */
.dash-hero-progress {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
}
.progress-ring {
    --p: 0;
    --size: 120px;
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    background:
        conic-gradient(from -90deg, #7c3aed calc(var(--p) * 1%), #e5e7eb calc(var(--p) * 1%));
    display: grid;
    place-items: center;
    position: relative;
    transition: --p var(--t);
}
.progress-ring::before {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: var(--white);
}
.progress-ring-value {
    position: relative;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 700;
    font-size: 1.7rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.progress-ring-value small { font-size: .9rem; margin-left: 1px; }
.progress-caption {
    margin: 0;
    color: var(--text-muted);
    font-size: .82rem;
    text-align: center;
    max-width: 140px;
}

/* ----- Stats grid (cards) ----- */
.dash-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}
.stat-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
    position: relative;
    overflow: hidden;
}
.stat-card::after {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t);
}
.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--purple-200);
}
.stat-card:hover::after { transform: scaleX(1); }
.stat-card-accent {
    background:
        linear-gradient(135deg, rgba(168, 85, 247, .08), transparent 50%),
        var(--white);
}
.stat-card-accent::after { transform: scaleX(1); }
.stat-icon { font-size: 1.4rem; }
.stat-value {
    margin: 6px 0 2px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.9rem;
    line-height: 1;
    color: var(--gray-900);
}
.stat-value small { font-size: .9rem; color: var(--text-muted); margin-left: 1px; font-family: var(--font-sans); font-weight: 500; }
.stat-label {
    margin: 0;
    color: var(--text-light);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-weight: 600;
}
.stat-cta {
    display: inline-block;
    margin-top: 12px;
    color: var(--purple-700);
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
    transition: gap var(--t);
}
.stat-cta:hover { color: var(--purple-900); }

/* ----- Sections du dashboard ----- */
.dash-section {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 22px;
}
.dash-section-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.dash-section-head h2 { margin: 0; font-size: 1.15rem; }
.dash-section-head p { margin: 0; }

/* ----- Checklist ----- */
.checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.checklist li {
    display: grid;
    grid-template-columns: 28px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--gray-50);
    border: 1px solid transparent;
    border-radius: 8px;
    transition: background var(--t-fast), border-color var(--t-fast);
}
.checklist li:hover { background: var(--purple-50); border-color: var(--purple-100); }
.checklist li.is-done {
    background: var(--success-50);
    border-color: #a7f3d0;
}
.checklist-icon {
    width: 24px; height: 24px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--white);
    color: var(--gray-400);
    border: 1.5px solid var(--gray-300);
    font-weight: 700;
    font-size: .85rem;
    flex-shrink: 0;
}
.is-done .checklist-icon {
    background: var(--success-500);
    border-color: var(--success-500);
    color: var(--white);
}
.checklist-label { font-weight: 500; font-size: .9rem; color: var(--gray-800); }
.is-done .checklist-label { color: var(--gray-700); }
.checklist-cta {
    color: var(--purple-700);
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
    transition: color var(--t-fast);
}
.checklist-cta:hover { color: var(--purple-900); }
.checklist-status {
    color: #065f46;
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* ----- Quick actions ----- */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}
.quick-action {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--gray-800);
    text-decoration: none;
    transition: all var(--t);
}
.quick-action:hover {
    border-color: var(--purple-300);
    background: var(--purple-50);
    color: var(--purple-900);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.quick-action-icon {
    width: 36px; height: 36px;
    display: grid; place-items: center;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    flex-shrink: 0;
}
.quick-action-label { font-weight: 600; font-size: .9rem; }

/* ----- Recent works grid ----- */
.recent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}
.recent-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    transition: transform var(--t), box-shadow var(--t);
}
.recent-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.recent-thumb {
    aspect-ratio: 4/3;
    background: var(--gray-100);
    display: grid; place-items: center;
    font-size: 2rem;
    overflow: hidden;
}
.recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.recent-thumb.is-placeholder { background: linear-gradient(135deg, var(--purple-100), var(--blue-300)); color: var(--white); }
.recent-body { padding: 12px 14px; }
.recent-body h3 { font-size: .92rem; margin: 0 0 2px; font-family: var(--font-sans); }
.recent-price { margin: 6px 0 0; font-weight: 700; color: var(--purple-700); font-size: .85rem; }

.dash-empty {
    background: linear-gradient(135deg, #faf5ff 0%, #eff6ff 100%);
    border: 1px dashed var(--purple-200);
    border-radius: var(--radius-xl);
    padding: 48px 32px;
    text-align: center;
}
.dash-empty h2 { font-size: 1.4rem; margin-bottom: 8px; }
.dash-empty .muted { max-width: 480px; margin: 0 auto 20px; }

/* ----- Page sub-headers ----- */
.dash-page-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--border);
}
.dash-page-head h1 { font-size: 1.65rem; margin: 6px 0 8px; }
.dash-page-head p { margin: 0; max-width: 540px; }
/* Alias historique — certains templates legacy utilisent .dash-header */
.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--border);
}
.dash-header h1 { font-size: 1.65rem; margin: 6px 0 8px; }
.dash-header p { margin: 0; max-width: 540px; }

/* ----- Forms ----- */
.form-card-elevated {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}
.form-collapsible {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid transparent;
    transition: max-height var(--t-slow), padding var(--t), border-color var(--t), margin var(--t);
}
.form-collapsible.is-open {
    max-height: 1400px;
    padding-top: 24px;
    padding-bottom: 24px;
    border-color: var(--border);
    margin-bottom: 24px;
}

/* ----- Works grid (page Œuvres) ----- */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}
.work-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
    display: flex;
    flex-direction: column;
}
.work-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--purple-200);
}
.work-thumb {
    aspect-ratio: 4/3;
    background: var(--gray-100);
    display: grid; place-items: center;
    font-size: 2.4rem;
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
    position: relative;
}
.work-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform var(--t-slow);
}
.work-card:hover .work-thumb img { transform: scale(1.04); }
.work-thumb.is-placeholder { background: linear-gradient(135deg, var(--purple-100), var(--blue-300)); color: var(--white); }
.work-body {
    padding: 14px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.work-body h3 { margin: 0 0 2px; font-family: var(--font-sans); font-size: .98rem; }
.work-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
    flex-wrap: wrap;
}
.work-price { font-weight: 700; color: var(--purple-700); }

.work-actions {
    position: absolute;
    top: 8px; right: 8px;
    display: flex;
    gap: 6px;
    z-index: 2;
}
.work-actions .btn-danger,
.work-edit-toggle {
    width: 32px; height: 32px; padding: 0;
    border-radius: 8px;
    font-size: 1rem;
    line-height: 1;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .5);
    color: var(--gray-700);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background var(--t-fast), color var(--t-fast);
}
.work-edit-toggle:hover {
    background: var(--gradient-deep);
    color: var(--white);
    border-color: transparent;
}

/* Panel d'édition inline (slide-down inside the card) */
.work-edit-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--t-slow);
    background: var(--gray-50);
    border-top: 1px solid transparent;
    border-radius: 0 0 var(--radius) var(--radius);
}
.work-edit-panel.is-open {
    max-height: 380px;
    border-top-color: var(--border);
}
.work-edit-panel-inner {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.work-edit-panel .toggle { padding: 4px 0; gap: 10px; }
.work-edit-panel .toggle-text strong { font-size: .82rem; font-weight: 600; }
.work-edit-panel input[type="text"] {
    padding: 8px 12px;
    border: 1px solid var(--border-strong);
    border-radius: 6px;
    font-size: .85rem;
    background: var(--white);
}
.work-edit-panel-actions { display: flex; gap: 8px; margin-top: 4px; }
.work-edit-panel-actions .btn { flex: 1; }

.badge-status {
    font-size: .72rem;
    padding: 4px 10px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.badge-available { background: var(--blue-50); color: var(--blue-800); }
.badge-on_request { background: var(--gray-100); color: var(--gray-700); }
.badge-sold { background: #fee2e2; color: #991b1b; }
.badge-reserved { background: var(--warning-50); color: var(--warning-600); }

/* ----- Petites utils ----- */
.muted { color: var(--text-muted); }
.muted.small, .small { font-size: .85rem; }
.empty-state {
    text-align: center;
    padding: 32px;
    color: var(--text-light);
    background: var(--gray-50);
    border-radius: var(--radius);
    border: 1px dashed var(--border-strong);
}
.link { color: var(--purple-700); text-decoration: none; font-weight: 600; font-size: .85rem; }
.link:hover { color: var(--purple-900); }

/* Timeline (édition) */
.timeline-edit { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.timeline-edit li {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 14px;
    align-items: start;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 16px;
}
.timeline-edit .timeline-year { font-weight: 700; color: var(--blue-700); font-family: var(--font-display); }
.timeline-edit p { margin: 4px 0 0; font-size: .9rem; }
.cv-tag {
    display: inline-block;
    padding: 2px 8px;
    background: var(--blue-50);
    color: var(--blue-700);
    border-radius: var(--radius-pill);
    font-size: .75rem;
    font-weight: 600;
    margin-right: 8px;
    text-transform: uppercase;
    letter-spacing: .03em;
}

/* =========================================================================
   Public portfolio
   ========================================================================= */

.demo-banner {
    background: var(--blue-50);
    border-bottom: 1px solid var(--blue-200);
    padding: 14px 0;
}
.demo-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.demo-banner strong { color: var(--blue-800); }

.portfolio-hero {
    background: var(--gradient-soft);
    padding: 80px 0 60px;
    border-bottom: 1px solid var(--border);
}
.portfolio-hero-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.portfolio-avatar {
    width: 160px; height: 160px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    background: var(--gradient-primary);
    border: 5px solid var(--white);
    box-shadow: var(--shadow-lg);
    display: grid; place-items: center;
}
.portfolio-avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-placeholder {
    color: var(--white);
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
}
.portfolio-identity { flex: 1; min-width: 280px; }
.portfolio-identity h1 { margin-bottom: 8px; }
.portfolio-headline {
    font-size: 1.15rem;
    color: var(--blue-800);
    font-weight: 500;
    margin-bottom: 16px;
}
.portfolio-meta {
    list-style: none; padding: 0; margin: 0;
    display: flex; gap: 20px; flex-wrap: wrap;
    color: var(--text-muted);
    font-size: .95rem;
}

.portfolio-section { padding: 64px 0; }
.portfolio-section:nth-of-type(even) { background: var(--bg-soft); }
.portfolio-h2 {
    font-size: 1.7rem;
    margin-bottom: 28px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--blue-100);
}
.portfolio-bio {
    font-size: 1.05rem;
    color: var(--gray-700);
    line-height: 1.75;
    white-space: pre-wrap;
}

.artworks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}
.artwork-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--t);
}
.artwork-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue-200);
}
.artwork-image {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--gray-100);
    display: grid; place-items: center;
    font-size: 3rem;
}
.artwork-image img { width: 100%; height: 100%; object-fit: cover; }
.artwork-placeholder {
    background: linear-gradient(135deg, var(--blue-100), var(--blue-400));
    color: var(--white);
}
.artwork-body { padding: 20px; }
.artwork-body h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 6px; }
.artwork-year { color: var(--text-light); font-weight: 400; font-size: .95rem; }
.artwork-tech { color: var(--text-muted); font-size: .9rem; margin-bottom: 8px; }
.artwork-desc { color: var(--gray-700); font-size: .95rem; margin-bottom: 12px; }
.artwork-price { margin: 0; }

.badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    font-size: .85rem;
    font-weight: 600;
}
.badge-price    { background: var(--blue-50); color: var(--blue-800); }
.badge-sold     { background: #fee2e2; color: #991b1b; }
.badge-reserved { background: var(--warning-50); color: var(--warning-600); }
.badge-request  { background: var(--gray-100); color: var(--gray-700); }

.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}
.timeline li:last-child { border-bottom: none; }
.timeline-year {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--blue-800);
}
.timeline strong { color: var(--gray-900); }
.timeline p { margin: 4px 0 0; color: var(--text-muted); font-size: .95rem; }

.cv-cat {
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--blue-800);
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.portfolio-cta {
    padding: 80px 0;
    background: var(--gradient-deep);
    color: var(--white);
    text-align: center;
}
.portfolio-cta h2 { color: var(--white); }
.portfolio-cta p  { color: rgba(255, 255, 255, .85); margin-bottom: 24px; }
.portfolio-cta .btn { margin: 6px; }

/* =========================================================================
   Responsive
   ========================================================================= */

@media (max-width: 980px) {
    :root { --section-y: 72px; }

    .hero-inner { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { order: -1; }
    .mockup { transform: none; max-width: 380px; }

    .cards-grid-3 { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr; }

    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .footer-nav   { grid-template-columns: repeat(3, 1fr); gap: 24px; }

    /* Dashboard mobile : drawer vertical à la place du scroll horizontal */
    .dash { grid-template-columns: 1fr; }
    .dash-side {
        position: fixed;
        inset: 73px 0 0 -260px;
        width: 260px;
        height: calc(100vh - 73px);
        z-index: 50;
        transition: inset var(--t);
        box-shadow: 0 0 24px rgba(15, 23, 42, .15);
        overflow-y: auto;
    }
    .dash-side.is-open { inset: 73px auto 0 0; }
    .dash-side-toggle { display: inline-flex; }
    .dash-backdrop {
        position: fixed;
        inset: 73px 0 0 0;
        background: rgba(15, 23, 42, .45);
        z-index: 45;
        backdrop-filter: blur(2px);
    }
    .dash-main { padding: 24px 18px 80px; max-width: 100vw; }
    .dash-hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 24px;
        gap: 22px;
    }
    .dash-hero-progress { justify-self: center; }
    .share-box { flex-wrap: wrap; }
    .share-url { width: 100%; order: 1; }
    .share-label, .share-box .btn { order: 2; }
    .dash-page-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 860px) {
    .nav-toggle { display: inline-flex; }
    .nav-list {
        position: absolute;
        top: 72px; left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        gap: 4px;
        display: none;
        max-height: calc(100vh - 72px);
        overflow-y: auto;
    }
    .nav-list.is-open { display: flex; }
    .nav-list li > a:not(.btn) { padding: 12px 14px; }
    .nav-list .btn { justify-content: center; margin-top: 8px; }
    .lang-switch summary { width: 100%; justify-content: space-between; }
    .lang-menu { position: static; box-shadow: none; border: 1px solid var(--border); margin-top: 6px; }

    h1 { font-size: 1.7rem; }
    h2 { font-size: 1.4rem; }

    .hero-trust { gap: 20px; }
    .hero-trust strong { font-size: 1.1rem; }
    .hero-trust span { font-size: .75rem; }

    /* Marketplace mobile */
    .mkt-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
    .mkt-body { padding: 12px 14px; }
    .mkt-card h3 { font-size: .92rem; }

    /* Public portfolio mobile */
    .pf-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }
    .pf-meta { justify-content: center; }
    .pf-cta { justify-content: center; }
    .pf-works { grid-template-columns: 1fr; gap: 18px; }
    .pf-timeline li { grid-template-columns: 70px 1fr; gap: 12px; }
    .pf-h2-center { text-align: left; }

    /* Editor / dashboard */
    .dash-page-head { flex-direction: column; align-items: stretch; gap: 12px; }
    .dash-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-value { font-size: 1.4rem; }

    /* Form fieldset */
    .form-fieldset { padding-bottom: 18px; margin-bottom: 18px; }
    .toggle { gap: 10px; }

    /* Messages list */
    .msg-actions { flex-direction: column; align-items: stretch; }
    .msg-actions .btn { width: 100%; }

    .features-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }

    .auth-card { padding: 32px 22px; }

    .timeline-edit li { grid-template-columns: 70px 1fr; }
    .timeline-edit li form { grid-column: 1 / -1; justify-self: end; }
    .timeline li { grid-template-columns: 70px 1fr; gap: 14px; }

    .portfolio-hero-inner { flex-direction: column; text-align: center; }
    .portfolio-meta { justify-content: center; }
    .portfolio-avatar { width: 130px; height: 130px; }

    .footer-nav { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    :root { --gutter: 16px; --section-y: 48px; }
    .hero h1 { font-size: 1.6rem; }
    .btn-lg { padding: 13px 20px; font-size: .95rem; }
    .btn { padding: 11px 18px; font-size: .9rem; }
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-cta .btn { width: 100%; }
    .dash-grid { grid-template-columns: 1fr; }
    .mkt-grid { grid-template-columns: 1fr; }
    .pf-avatar { width: 120px; }
    .pf-identity h1 { font-size: 1.5rem; }
    .pf-h2 { font-size: 1.25rem; }
    .form-grid { gap: 12px; }
    .form-card-elevated, .form-card { padding: 18px; }
    .auth-card { padding: 28px 18px; }
    .pf-contact-form { padding: 20px; }
    .stat-card { padding: 14px 16px; }
    .kpi-card { padding: 14px 16px; }
    .kpi-value { font-size: 1.4rem; }
}

/* =========================================================================
   Page /portfolio-gratuit (landing détaillée)
   ========================================================================= */
.pg-hero {
    position: relative;
    text-align: center;
    padding: clamp(64px, 9vw, 110px) 0 clamp(48px, 7vw, 80px);
    overflow: hidden;
}
.pg-hero-bg {
    position: absolute; inset: 0;
    background: var(--gradient-soft), var(--gradient-glow);
    pointer-events: none;
    animation: glow-drift 18s ease-in-out infinite alternate;
}
.pg-hero h1 {
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    line-height: 1.1;
    max-width: 880px;
    margin: 0 auto 16px;
    position: relative;
}
.pg-hero .lead {
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 28px;
    font-size: 1.05rem;
    position: relative;
}
.pg-hero-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 42px;
    position: relative;
}
.pg-hero-stats {
    display: flex;
    justify-content: center;
    gap: clamp(20px, 4vw, 56px);
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    position: relative;
}
.pg-hero-stats li { display: flex; flex-direction: column; gap: 2px; align-items: center; }
.pg-hero-stats strong {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.pg-hero-stats span {
    color: var(--text-light);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.pg-hero-micro {
    text-align: center;
    margin: -20px 0 32px;
    position: relative;
}

/* ----- CRO : Trust strip ----- */
.pg-trust-strip {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    overflow-x: auto;
}
.pg-trust-strip ul {
    display: flex;
    list-style: none;
    margin: 0; padding: 0;
    gap: clamp(16px, 3vw, 36px);
    justify-content: center;
    flex-wrap: nowrap;
    font-size: .82rem;
    color: var(--gray-700);
    font-weight: 500;
}
.pg-trust-strip li {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ----- CRO : Table of contents (sticky sur desktop) ----- */
.pg-toc {
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    position: sticky;
    top: 73px;
    z-index: 30;
    backdrop-filter: blur(8px);
    background-color: rgba(248, 250, 252, .92);
}
.pg-toc .container {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.pg-toc strong {
    color: var(--text-light);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.pg-toc a {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    font-size: .88rem;
    padding: 4px 10px;
    border-radius: 6px;
    transition: all var(--t-fast);
}
.pg-toc a:hover { background: var(--purple-50); color: var(--purple-800); }

/* ----- CRO : Mid-CTAs intercalés ----- */
.pg-cta-inline {
    padding: 0;
    margin: 0;
}
.pg-cta-inline-card {
    background: linear-gradient(135deg, var(--purple-50) 0%, var(--blue-50) 100%);
    border: 1px solid var(--purple-200);
    border-radius: var(--radius-lg);
    padding: 22px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    max-width: 920px;
    margin: 24px auto;
}
.pg-cta-inline-card p {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--gray-900);
}

/* ----- CRO : Risk reversal box ----- */
.pg-risk-section {
    padding: clamp(40px, 6vw, 72px) 0;
}
.pg-risk {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: center;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 1px solid #a7f3d0;
    border-radius: var(--radius-xl);
    padding: 28px 32px;
}
.pg-risk-icon {
    font-size: 2.4rem;
    width: 64px; height: 64px;
    display: grid; place-items: center;
    background: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}
.pg-risk h2 {
    font-size: 1.25rem;
    margin: 0 0 6px;
    color: #065f46;
    font-family: var(--font-sans);
}
.pg-risk p { margin: 0; color: #047857; line-height: 1.65; font-size: .95rem; }

/* CTA finale enrichie (multi-actions) */
.cta-card-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    margin-top: 4px;
}
.cta-card-secondary {
    background: rgba(255, 255, 255, .12);
    color: var(--white);
    border-color: rgba(255, 255, 255, .25);
    backdrop-filter: blur(8px);
}
.cta-card-secondary:hover {
    background: rgba(255, 255, 255, .22);
    color: var(--white);
}
.cta-card-micro {
    margin-top: 16px;
    color: rgba(255, 255, 255, .75);
    font-size: .82rem;
    position: relative;
}

.pg-section { padding: clamp(56px, 8vw, 96px) 0; }
.pg-section-alt { background: var(--bg-soft); }
.pg-section .section-header { margin-bottom: 56px; }

/* ----- Features 1-11 alternées (numéro géant à gauche / droite) ----- */
.pg-features {
    display: flex;
    flex-direction: column;
    gap: clamp(28px, 5vw, 60px);
    max-width: 920px;
    margin: 0 auto;
}
.pg-feature {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: clamp(20px, 4vw, 48px);
    align-items: center;
}
.pg-feature-reverse { grid-template-columns: 1fr 200px; }
.pg-feature-reverse .pg-feature-num { order: 2; }
.pg-feature-num {
    text-align: center;
}
.pg-feature-num span {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 700;
    font-size: clamp(4rem, 12vw, 8rem);
    line-height: 1;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}
.pg-feature-body h3 {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.2vw, 1.7rem);
    margin: 0 0 12px;
    color: var(--gray-900);
}
.pg-feature-body p {
    color: var(--gray-700);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

/* ----- Comparison table ----- */
.pg-cmp {
    max-width: 960px;
    margin: 0 auto;
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--white);
}
.pg-cmp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .94rem;
    min-width: 640px;
}
.pg-cmp-table th, .pg-cmp-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.pg-cmp-table thead th {
    background: var(--gray-50);
    font-weight: 600;
    color: var(--gray-700);
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.pg-cmp-table tbody tr:last-child td { border-bottom: none; }
.pg-cmp-table tbody tr:hover { background: var(--purple-50); }
.pg-cmp-table .pg-cmp-us {
    background:
        linear-gradient(180deg, rgba(124, 58, 237, .06), transparent),
        var(--white);
    border-left: 2px solid var(--purple-300);
    border-right: 2px solid var(--purple-300);
    color: var(--purple-900);
    font-weight: 600;
}
.pg-cmp-table thead .pg-cmp-us {
    background: var(--gradient-deep);
    color: var(--white);
    border-color: transparent;
}

/* ----- Personas ----- */
.pg-personas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    max-width: 1080px;
    margin: 0 auto;
}
.pg-persona {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.pg-persona:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--purple-200);
}
.pg-persona-icon {
    font-size: 2rem;
    margin-bottom: 14px;
    width: 52px; height: 52px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--purple-50), var(--blue-100));
    border-radius: 14px;
}
.pg-persona h3 {
    margin: 0 0 6px;
    font-size: 1.05rem;
    font-family: var(--font-sans);
}
.pg-persona p {
    color: var(--text-muted);
    font-size: .9rem;
    margin: 0;
    line-height: 1.55;
}

/* Responsive ----- */
@media (max-width: 720px) {
    .pg-feature {
        grid-template-columns: 1fr;
        gap: 12px;
        text-align: center;
    }
    .pg-feature-reverse { grid-template-columns: 1fr; }
    .pg-feature-reverse .pg-feature-num { order: 0; }
    .pg-feature-num span { font-size: 3.6rem; }
    .pg-cmp-table { min-width: 540px; font-size: .86rem; }
    .pg-cmp-table th, .pg-cmp-table td { padding: 10px 12px; }
}

/* =========================================================================
   Page /contact — refonte UI animée
   ========================================================================= */

.ct-hero {
    position: relative;
    text-align: center;
    padding: clamp(64px, 10vw, 120px) 0 clamp(32px, 5vw, 48px);
    overflow: hidden;
}
.ct-hero h1 {
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    line-height: 1;
    margin: 0 auto 18px;
    max-width: 880px;
    position: relative;
}
.ct-hero .lead {
    color: var(--text-muted);
    max-width: 540px;
    margin: 0 auto;
    font-size: 1.05rem;
    position: relative;
}
.ct-hero .eyebrow { position: relative; }

/* Animated blobs (fond) */
.ct-hero-blobs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.ct-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .45;
    animation: ct-blob-drift 18s ease-in-out infinite;
}
.ct-blob-1 {
    width: 380px; height: 380px;
    background: radial-gradient(circle, #c4b5fd, transparent 70%);
    top: -80px; left: 10%;
    animation-delay: 0s;
}
.ct-blob-2 {
    width: 320px; height: 320px;
    background: radial-gradient(circle, #93c5fd, transparent 70%);
    top: 30%; right: 5%;
    animation-delay: -6s;
}
.ct-blob-3 {
    width: 280px; height: 280px;
    background: radial-gradient(circle, #f5d0fe, transparent 70%);
    bottom: -100px; left: 40%;
    animation-delay: -12s;
}
@keyframes ct-blob-drift {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    33%      { transform: translate3d(40px, -30px, 0) scale(1.1); }
    66%      { transform: translate3d(-30px, 50px, 0) scale(.95); }
}

.ct-section {
    padding: 0 0 clamp(64px, 9vw, 100px);
    position: relative;
}

/* Layout 2 colonnes : raisons à gauche, form à droite */
.ct-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 40px;
    max-width: 1080px;
    margin: 0 auto;
    align-items: start;
}
@media (max-width: 920px) {
    .ct-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ----- Raison cards ----- */
.ct-reasons { position: sticky; top: 100px; }
.ct-reasons-title {
    font-size: 1.05rem;
    margin: 0 0 14px;
    font-family: var(--font-sans);
    font-weight: 600;
    color: var(--gray-700);
}
.ct-reasons ul {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ct-reason {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    align-items: center;
    padding: 14px 16px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--t);
    position: relative;
}
.ct-reason input { position: absolute; opacity: 0; pointer-events: none; }
.ct-reason:hover {
    border-color: var(--purple-300);
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}
.ct-reason.is-active {
    border-color: var(--purple-500);
    background: linear-gradient(135deg, var(--purple-50) 0%, var(--blue-50) 100%);
    box-shadow: 0 4px 14px rgba(124, 58, 237, .15);
}
.ct-reason.is-active::before {
    content: '✓';
    position: absolute;
    top: 10px; right: 12px;
    width: 18px; height: 18px;
    background: var(--gradient-deep);
    color: var(--white);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: .7rem;
    font-weight: 700;
}
.ct-reason-icon {
    font-size: 1.5rem;
    width: 44px; height: 44px;
    display: grid; place-items: center;
    background: var(--bg-soft);
    border-radius: 12px;
    transition: transform var(--t);
}
.ct-reason.is-active .ct-reason-icon {
    background: var(--white);
    transform: scale(1.05);
}
.ct-reason-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.ct-reason-body strong {
    font-size: .95rem;
    color: var(--gray-900);
}

.ct-response-time {
    font-size: .82rem;
    color: var(--text-muted);
    text-align: center;
    margin: 16px 0 0;
    padding: 10px;
    background: var(--bg-soft);
    border-radius: 8px;
    border: 1px solid var(--border);
}

/* ----- Form avec floating labels ----- */
.ct-form {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: clamp(24px, 4vw, 36px);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.ct-field {
    position: relative;
}
.ct-field input,
.ct-field textarea {
    width: 100%;
    padding: 22px 16px 8px;
    border: 1.5px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    background: var(--white);
    color: var(--text);
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.ct-field textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.55;
}
.ct-field label {
    position: absolute;
    left: 16px;
    top: 18px;
    color: var(--text-muted);
    pointer-events: none;
    font-size: 1rem;
    transition: top var(--t-fast), font-size var(--t-fast), color var(--t-fast);
    background: linear-gradient(180deg, transparent 50%, var(--white) 50%);
    padding: 0 4px;
}
.ct-field input:focus,
.ct-field textarea:focus {
    outline: none;
    border-color: var(--purple-500);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, .12);
}
/* Float label when focused or filled */
.ct-field input:focus + label,
.ct-field input:not(:placeholder-shown) + label,
.ct-field textarea:focus + label,
.ct-field textarea:not(:placeholder-shown) + label {
    top: -8px;
    font-size: .78rem;
    color: var(--purple-700);
    font-weight: 600;
}

/* Submit with loading state */
.ct-form button[type="submit"] {
    margin-top: 6px;
    position: relative;
}
.ct-submit-spinner {
    display: none;
    width: 16px; height: 16px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: ct-spin 1s linear infinite;
    margin-left: 8px;
}
@keyframes ct-spin { to { transform: rotate(360deg); } }
.ct-form button.is-loading .ct-submit-spinner { display: inline-block; }
.ct-form button.is-loading { pointer-events: none; opacity: .8; }

/* ----- Success state animé ----- */
.ct-success {
    text-align: center;
    padding: clamp(40px, 6vw, 80px) 24px;
    max-width: 540px;
    margin: 0 auto;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 1px solid #a7f3d0;
    border-radius: var(--radius-xl);
}
.ct-success h2 { font-size: 1.6rem; margin: 0 0 8px; color: #065f46; }
.ct-success p { color: #047857; margin: 0 0 24px; }
.ct-success-check {
    width: 88px; height: 88px;
    margin: 0 auto 24px;
}
.ct-success-check svg {
    width: 100%; height: 100%;
    overflow: visible;
}
.ct-success-check circle {
    stroke: #10b981;
    stroke-width: 3;
    stroke-dasharray: 160;
    stroke-dashoffset: 160;
    animation: ct-circle-draw .8s ease-out forwards;
}
.ct-success-check path {
    stroke: #10b981;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    animation: ct-check-draw .4s ease-out .6s forwards;
}
@keyframes ct-circle-draw { to { stroke-dashoffset: 0; } }
@keyframes ct-check-draw { to { stroke-dashoffset: 0; } }

/* =========================================================================
   Admin : badges statut messages
   ========================================================================= */
.badge-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.badge-status-new      { background: #fef3c7; color: #92400e; }
.badge-status-read     { background: var(--gray-100); color: var(--gray-600); }
.badge-status-replied  { background: #dbeafe; color: #1e40af; }
.badge-status-archived { background: var(--gray-100); color: var(--gray-500); }
.badge-reason {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--purple-50);
    color: var(--purple-700);
    font-size: .82rem;
    font-weight: 500;
    margin-right: 6px;
}
.is-unread-row {
    background: linear-gradient(90deg, rgba(254, 243, 199, .35), transparent 60%);
}
.is-unread-row:hover { background: linear-gradient(90deg, rgba(254, 243, 199, .5), transparent 60%); }

.status-form { display: flex; flex-direction: column; gap: 12px; }
.status-radios {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}
.status-radio {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--admin-bg);
    border: 1.5px solid transparent;
    border-radius: 6px;
    font-size: .85rem;
    cursor: pointer;
    font-weight: 500;
    color: var(--gray-700);
    transition: all var(--t-fast);
}
.status-radio:hover { border-color: var(--admin-border); }
.status-radio.is-active {
    background: var(--white);
    border-color: var(--purple-500);
    color: var(--purple-800);
    font-weight: 600;
}
.status-radio input { accent-color: var(--purple-600); }

/* =========================================================================
   Theme galerie (override des dégradés vers orange)
   ========================================================================= */
body.theme-gallery {
    --primary: var(--orange-700);
    --primary-hover: var(--orange-800);
    --primary-soft: var(--orange-50);
    --gradient-primary: var(--gradient-gallery);
    --gradient-deep:    var(--gradient-gallery-deep);
    --gradient-soft:    var(--gradient-gallery-soft);
    --gradient-text:    var(--gradient-gallery-text);
    --gradient-glow:    var(--gradient-gallery-glow);
    --shadow-btn:       0 6px 20px rgba(234, 88, 12, .25);
    --shadow-btn-hover: 0 12px 28px rgba(234, 88, 12, .38);
    --shadow-lg:        0 16px 48px rgba(234, 88, 12, .12);
    --shadow-xl:        0 30px 80px rgba(234, 88, 12, .18);
}
body.theme-gallery .accent {
    background: var(--gradient-gallery-text);
    -webkit-background-clip: text; background-clip: text;
}
body.theme-gallery .eyebrow {
    background: var(--orange-50);
    color: var(--orange-700);
    border-color: var(--orange-100);
}
body.theme-gallery .btn-ghost {
    color: var(--orange-700);
    border-color: var(--orange-200);
}
body.theme-gallery .btn-ghost:hover {
    background: var(--orange-50);
    color: var(--orange-800);
    border-color: var(--orange-300);
}
body.theme-gallery .lang-flag.is-active {
    box-shadow: 0 0 0 2px var(--orange-500), 0 4px 10px rgba(234, 88, 12, .25);
}
body.theme-gallery .nav-list li > a:not(.btn):hover { color: var(--orange-700); }
body.theme-gallery .pf-hero-full .pf-style .accent,
body.theme-gallery .cta-card h2 .accent {
    background: linear-gradient(120deg, #fed7aa 0%, #fff7ed 100%);
    -webkit-background-clip: text; background-clip: text;
}

/* Lien galerie dans la nav (badge orange) */
.nav-link-gallery {
    color: var(--orange-700) !important;
    position: relative;
}
.nav-link-gallery::before {
    content: '✦';
    margin-right: 4px;
    color: var(--orange-500);
}

/* Dropdown CTA navbar : Ouvrir ma page */
.nav-cta-menu { position: relative; }
.nav-cta-menu details { position: relative; }
.nav-cta-menu summary {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.nav-cta-menu summary::-webkit-details-marker { display: none; }
.nav-cta-menu summary::marker { display: none; }
.cta-caret {
    display: inline-block;
    font-size: .7rem;
    transition: transform var(--t-fast);
    margin-top: 1px;
}
.nav-cta-menu details[open] .cta-caret { transform: rotate(180deg); }

.cta-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 280px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 6px;
    z-index: 70;
    display: flex;
    flex-direction: column;
    gap: 2px;
    animation: cta-menu-pop .22s var(--t);
}
@keyframes cta-menu-pop {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.cta-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--gray-900);
    transition: background var(--t-fast);
}
.cta-menu-item:hover { background: var(--purple-50); }
.cta-menu-item-gallery:hover { background: var(--orange-50); color: var(--gray-900); }
.cta-menu-icon {
    width: 36px; height: 36px;
    display: grid; place-items: center;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 10px;
    font-size: 1.05rem;
    flex-shrink: 0;
}
.cta-menu-item-gallery .cta-menu-icon { background: var(--gradient-gallery); }
.cta-menu-body {
    display: flex;
    flex-direction: column;
    gap: 1px;
    font-size: .9rem;
}
.cta-menu-body strong { font-weight: 600; }
.cta-menu-body .muted { font-weight: 400; }

@media (max-width: 860px) {
    /* Sur mobile, le dropdown s'ouvre dans le flow */
    .cta-menu { position: static; box-shadow: none; border: none; padding: 0; min-width: 0; margin-top: 6px; }
}

/* =========================================================================
   Match cards (galerie matching artistes)
   ========================================================================= */
.match-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 18px;
}
.match-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 18px;
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.match-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--orange-200);
}
.match-score { text-align: center; }
.match-score-ring {
    --p: 0;
    width: 80px; height: 80px;
    border-radius: 50%;
    background: conic-gradient(from -90deg,
        var(--orange-600) calc(var(--p) * 1%),
        var(--gray-200) calc(var(--p) * 1%));
    display: grid; place-items: center;
    position: relative;
    margin: 0 auto 6px;
}
.match-score-ring::before {
    content: ''; position: absolute; inset: 6px;
    border-radius: 50%; background: var(--white);
}
.match-score-ring span {
    position: relative;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 700;
    font-size: 1.4rem;
    background: var(--gradient-gallery-text);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
}
.match-body h3 { margin: 0 0 4px; font-size: 1.05rem; }
.match-body h3 a { color: inherit; text-decoration: none; }
.match-body h3 a:hover { color: var(--orange-700); }
.match-criteria {
    list-style: none;
    margin: 8px 0 12px;
    padding: 0;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    font-size: .82rem;
    color: var(--text-muted);
}
.match-contact summary {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
}
.match-contact summary::-webkit-details-marker { display: none; }

.match-why {
    margin: 4px 0 12px;
    background: var(--gray-50);
    border-radius: 8px;
    padding: 8px 12px;
}
.match-why summary {
    list-style: none;
    cursor: pointer;
    color: var(--text-muted);
}
.match-why summary::-webkit-details-marker { display: none; }
.match-why[open] summary { margin-bottom: 6px; }
.match-reasons {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
    font-size: .82rem;
    color: var(--gray-700);
}
.match-reasons li { padding: 2px 0; }

/* ===== Thread (messagerie interne galerie ↔ artiste) ===== */
.thread-panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: var(--shadow-sm);
}
.thread-list {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 100px;
}
.thread-msg {
    display: flex;
    max-width: 80%;
}
.thread-msg-self,
.thread-msg-artist { /* artist viewing thread = self when in vitrine */
    margin-left: auto;
    justify-content: flex-end;
}
.thread-msg-other,
.thread-msg-gallery {
    margin-right: auto;
}
/* Galerie viewing : sa galerie est self (gallery), artiste est other */
.theme-gallery .thread-msg-gallery { margin-left: auto; margin-right: 0; }
.theme-gallery .thread-msg-artist  { margin-right: auto; margin-left: 0; }

.thread-bubble {
    padding: 12px 16px;
    border-radius: 16px;
    background: var(--gray-100);
    max-width: 100%;
}
.thread-msg-self .thread-bubble,
.theme-gallery .thread-msg-gallery .thread-bubble {
    background: var(--gradient-deep);
    color: var(--white);
    border-bottom-right-radius: 4px;
}
.theme-gallery .thread-msg-gallery .thread-bubble {
    background: var(--gradient-gallery-deep);
}
.thread-msg-other .thread-bubble,
.theme-gallery .thread-msg-artist .thread-bubble {
    border-bottom-left-radius: 4px;
}
.thread-bubble p { margin: 0 0 4px; line-height: 1.5; white-space: pre-wrap; }
.thread-meta { display: block; font-size: .72rem; opacity: .75; }
.thread-msg-self .thread-meta,
.theme-gallery .thread-msg-gallery .thread-meta { color: rgba(255,255,255,.85); }
.thread-empty { text-align: center; padding: 24px; }

.thread-form {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    border-top: 1px solid var(--border);
    padding-top: 14px;
}
.thread-form textarea {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: .95rem;
    resize: vertical;
}
.thread-form textarea:focus {
    outline: none;
    border-color: var(--purple-500);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, .12);
}

/* ===== Propose-banner (sur pages publiques) ===== */
.propose-banner {
    background: linear-gradient(135deg, var(--purple-50) 0%, var(--blue-50) 100%);
    border-bottom: 1px solid var(--purple-200);
    padding: 14px 0;
}
.propose-banner-gallery {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border-bottom-color: var(--orange-200);
}
.propose-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: .92rem;
}
.propose-banner-form { position: relative; }
.propose-banner-form summary {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
}
.propose-banner-form summary::-webkit-details-marker { display: none; }
.propose-banner-form form {
    margin-top: 12px;
    display: flex;
    gap: 8px;
    flex-direction: column;
    width: 100%;
    max-width: 480px;
}
.propose-banner-form textarea {
    padding: 10px 14px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    font-family: inherit;
    resize: vertical;
}
.propose-banner-form[open] {
    width: 100%;
    flex-basis: 100%;
}

/* ===== Featured galleries sur homepage ===== */
.featured-galleries-section {
    background: linear-gradient(135deg, #fff7ed 0%, #fffbf5 100%);
    border-top: 1px solid var(--orange-100);
    border-bottom: 1px solid var(--orange-100);
}
.featured-galleries {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.featured-gallery-card {
    background: var(--white);
    border: 1px solid var(--orange-200);
    border-radius: var(--radius-lg);
    padding: 22px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform var(--t), box-shadow var(--t);
    position: relative;
}
.featured-gallery-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(234, 88, 12, .18);
    color: inherit;
}
.featured-gallery-logo {
    width: 64px; height: 64px;
    border-radius: 14px;
    overflow: hidden;
    background: var(--gradient-gallery);
    display: grid; place-items: center;
}
.featured-gallery-logo img { width: 100%; height: 100%; object-fit: cover; }
.featured-gallery-logo-fallback {
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
}
.featured-gallery-card h3 { margin: 0; font-size: 1.05rem; font-family: var(--font-sans); }
.featured-represented {
    margin: auto 0 0;
    background: var(--orange-50);
    color: var(--orange-800);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 500;
    width: fit-content;
}

/* ===== Duo grid (mise en relation page) ===== */
.duo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 22px;
    max-width: 980px;
    margin: 0 auto;
}
.duo-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: transform var(--t), box-shadow var(--t);
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.duo-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.duo-card-artist  { border-color: var(--purple-200); }
.duo-card-artist:hover  { box-shadow: 0 16px 32px rgba(124, 58, 237, .15); }
.duo-card-gallery { border-color: var(--orange-200); }
.duo-card-gallery:hover { box-shadow: 0 16px 32px rgba(234, 88, 12, .15); }
.duo-card-gallery .accent {
    background: var(--gradient-gallery-text);
    -webkit-background-clip: text; background-clip: text;
}
.duo-eyebrow {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 700;
    color: var(--text-light);
    margin: 0;
}
.duo-card-artist .duo-eyebrow  { color: var(--purple-700); }
.duo-card-gallery .duo-eyebrow { color: var(--orange-700); }
.duo-card h3 { font-size: 1.4rem; margin: 0; line-height: 1.25; }
.duo-list {
    list-style: none;
    padding: 0;
    margin: 12px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--gray-700);
    font-size: .92rem;
    flex: 1;
}
.duo-list li::before { color: var(--purple-600); font-weight: 700; }
.duo-card-gallery .duo-list li::before { color: var(--orange-600); }
.duo-card .btn { align-self: flex-start; margin-top: 8px; }

/* ===== Criteria cards ===== */
.criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.criterion-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px;
    position: relative;
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.criterion-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--purple-200);
}
.criterion-card-total {
    background: linear-gradient(135deg, var(--purple-50) 0%, var(--blue-50) 100%);
    border-color: var(--purple-300);
}
.criterion-weight {
    position: absolute;
    top: 18px; right: 22px;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 700;
    font-size: 1.6rem;
    background: var(--gradient-text);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
}
.criterion-weight small { font-size: .65em; opacity: .7; font-style: normal; }
.criterion-weight-total { font-size: 2rem; }
.criterion-card h3 {
    font-size: 1.05rem;
    font-family: var(--font-sans);
    margin: 0 0 10px;
    padding-right: 80px;
}
.criterion-card p {
    margin: 0;
    color: var(--gray-700);
    font-size: .92rem;
    line-height: 1.6;
}

/* Responsive : match cards */
@media (max-width: 540px) {
    .match-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .match-criteria { justify-content: center; }
    .match-grid { gap: 14px; }
    .pg-cta-inline-card { padding: 16px 20px; flex-direction: column; align-items: stretch; gap: 12px; }
    .pg-cta-inline-card p { text-align: center; }
    .pg-cta-inline-card .btn { width: 100%; }
    .pg-trust-strip ul { gap: 12px; font-size: .75rem; }
    .pg-toc { font-size: .8rem; }
    .pg-toc .container { gap: 10px; }
}

/* Responsive : modal sur très petit écran */
@media (max-width: 380px) {
    .signup-modal { padding: 4px; }
    .signup-modal-form { padding: 22px 18px; }
    .signup-modal-side { padding: 22px 18px; }
    .reassure-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .reassure-stat-num { font-size: 1.3rem; }
}

/* Responsive : tableau comparaison scroll horizontal smooth */
.pg-cmp { -webkit-overflow-scrolling: touch; }

/* Responsive : pf-hero-full sur mobile (background image) */
@media (max-width: 720px) {
    .pf-hero-full { min-height: 360px; background-position: center center; }
    .pf-hero-full h1 { font-size: 1.75rem; }
    .pf-hero-full .pf-headline { font-size: 1rem; }
    .pf-hero-full-inner { padding: 32px var(--gutter); }
    .mkt-commissions { gap: 8px; }
    .mkt-commission-pill { padding: 6px 14px; font-size: .8rem; }
    .mkt-commission-pill strong { font-size: .98rem; }
}

/* Responsive : dashboard galerie sur mobile - heures cell taille  */
@media (max-width: 480px) {
    .dash-hero { padding: 22px; }
    .dash-hero h1 { font-size: 1.4rem; }
    .dash-hero-lead { font-size: .85rem; }
    .pg-hero-cta .btn { padding: 12px 18px; font-size: .9rem; }
    .pg-hero-stats { gap: 14px; }
    .pg-hero-stats strong { font-size: 1.15rem; }
    .pg-hero-stats span { font-size: .7rem; }
    .pg-feature-num span { font-size: 3rem; }
}
.match-contact-form {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.match-contact-form textarea {
    padding: 8px 12px;
    border: 1px solid var(--border-strong);
    border-radius: 6px;
    font-family: inherit;
    font-size: .9rem;
    resize: vertical;
}

/* =========================================================================
   Sticky bottom CTA bar (CRO global)
   ========================================================================= */
.sticky-cta {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 70;
    width: min(620px, calc(100vw - 32px));
    background: var(--white);
    border: 1px solid var(--purple-200);
    border-radius: var(--radius-pill);
    box-shadow: 0 16px 48px rgba(124, 58, 237, .22), 0 4px 12px rgba(15, 23, 42, .08);
    padding: 8px 8px 8px 22px;
    animation: sticky-cta-pop .35s var(--t);
}
.sticky-cta[hidden] { display: none; }
@keyframes sticky-cta-pop {
    from { transform: translateX(-50%) translateY(20px); opacity: 0; }
    to   { transform: translateX(-50%) translateY(0); opacity: 1; }
}
.sticky-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.sticky-cta-text {
    font-weight: 600;
    color: var(--gray-900);
    font-size: .9rem;
    flex: 1;
    min-width: 0;
}
.sticky-cta-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.sticky-cta-dismiss {
    background: var(--gray-100);
    border: none;
    width: 32px; height: 32px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--gray-500);
    font-size: 1.2rem;
    line-height: 1;
    display: grid;
    place-items: center;
    transition: background var(--t-fast), color var(--t-fast);
}
.sticky-cta-dismiss:hover { background: var(--gray-300); color: var(--gray-900); }

@media (max-width: 540px) {
    .sticky-cta { padding: 6px 6px 6px 16px; bottom: 10px; }
    .sticky-cta-text { font-size: .82rem; }
    .sticky-cta .btn { padding: 8px 12px; font-size: .82rem; }
    .sticky-cta-dismiss { width: 28px; height: 28px; }
}

/* =========================================================================
   Modal d'inscription
   ========================================================================= */

.signup-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .55);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: flex-start;        /* permet scroll quand card > viewport */
    z-index: 200;
    padding: 36px 18px;
    overflow-y: auto;               /* scroll possible si la modal dépasse */
    -webkit-overflow-scrolling: touch;
    animation: signup-modal-fade .25s ease;
}
.signup-modal[hidden] { display: none; }
@keyframes signup-modal-fade { from { opacity: 0; } to { opacity: 1; } }

.signup-modal-card {
    width: 100%;
    max-width: 940px;
    margin: auto 0;                 /* centré vertical quand petit */
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    position: relative;
    animation: signup-modal-pop .35s var(--t);
}
/* La grille 2 colonnes vit sur .signup-modal-grid (wrapper interne),
   pas sur .signup-modal-card — sinon le bouton close prend une colonne. */
.signup-modal-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    min-height: 540px;
}
@media (max-width: 879px) {
    .signup-modal-grid { grid-template-columns: 1fr; min-height: 0; }
}
@keyframes signup-modal-pop {
    from { transform: scale(.94) translateY(10px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.signup-modal-close {
    position: absolute;
    top: 14px; right: 16px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--white);
    color: var(--gray-700);
    border: 1px solid var(--border);
    cursor: pointer;
    font-size: 1.3rem;
    line-height: 1;
    z-index: 2;
    transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.signup-modal-close:hover {
    background: var(--gray-900); color: var(--white);
    transform: rotate(90deg);
}

.signup-modal-form {
    padding: clamp(28px, 4vw, 44px);
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow-y: auto;
}
.signup-modal-form .eyebrow { margin-bottom: 6px; }
.signup-modal-form h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 0 0 6px;
}
.signup-modal-form .form-stack { margin-top: 10px; }
.signup-modal-form .auth-alt {
    margin-top: 14px;
    font-size: .85rem;
    color: var(--text-muted);
}

.signup-modal-side {
    background:
        radial-gradient(60% 50% at 100% 0%, rgba(168, 85, 247, .25), transparent 60%),
        radial-gradient(50% 40% at 0% 100%, rgba(59, 130, 246, .2), transparent 60%),
        var(--gradient-deep);
    color: var(--white);
    padding: clamp(28px, 4vw, 44px);
    display: flex;
    flex-direction: column;
    gap: 22px;
    overflow-y: auto;
}
.signup-modal-side-gallery {
    background:
        radial-gradient(60% 50% at 100% 0%, rgba(251, 146, 60, .35), transparent 60%),
        radial-gradient(50% 40% at 0% 100%, rgba(234, 88, 12, .25), transparent 60%),
        var(--gradient-gallery-deep);
}
/* Modal galerie : bouton primary devient orange */
.signup-modal-gallery .btn-primary {
    background: var(--gradient-gallery-deep);
    box-shadow: 0 8px 20px rgba(234, 88, 12, .25);
}
.signup-modal-gallery .btn-primary:hover { box-shadow: 0 12px 28px rgba(234, 88, 12, .38); }
.signup-modal-side-gallery .reassure-stat-num {
    background: linear-gradient(120deg, #fed7aa 0%, #fff7ed 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.signup-modal-side-gallery .reassure-list li::before {
    background: linear-gradient(135deg, #fed7aa, #fff7ed);
    color: var(--orange-900);
}
.nav-cta-gallery {
    color: var(--orange-700) !important;
    border: 1px solid var(--orange-200);
    border-radius: 6px;
    padding: 6px 12px !important;
    font-weight: 600 !important;
}
.nav-cta-gallery:hover {
    background: var(--orange-50);
    color: var(--orange-800) !important;
}
.signup-modal-side h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin: 0;
    font-family: var(--font-sans);
    font-weight: 600;
    letter-spacing: -.005em;
}

.reassure-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 14px;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, .15);
    border-bottom: 1px solid rgba(255, 255, 255, .15);
}
.reassure-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: center;
}
.reassure-stat-num {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.8rem;
    background: linear-gradient(120deg, #c4b5fd 0%, #f5d0fe 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}
.reassure-stat span {
    color: rgba(255, 255, 255, .8);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.reassure-first {
    background: linear-gradient(120deg, #fde68a 0%, #fef3c7 100%);
    color: #78350f;
    border-radius: var(--radius);
    padding: 12px 14px;
    margin: 0;
    font-size: .92rem;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 4px 14px rgba(251, 191, 36, .25);
}

.reassure-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.reassure-list li {
    color: rgba(255, 255, 255, .94);
    font-size: .92rem;
    padding-left: 28px;
    position: relative;
    line-height: 1.45;
}
.reassure-list li::before {
    content: '✓';
    position: absolute;
    left: 0; top: 0;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c4b5fd, #f5d0fe);
    color: var(--purple-900);
    display: grid;
    place-items: center;
    font-size: .72rem;
    font-weight: 700;
}

@media (max-width: 760px) {
    .signup-modal { padding: 18px 12px; }
    .signup-modal-card {
        margin: 0 auto;
    }
    .signup-modal-side { order: -1; padding: 24px; }
    .reassure-stats { padding: 14px 0; }
    .reassure-list li { font-size: .88rem; }
}
@media (max-width: 480px) {
    .signup-modal { padding: 8px; }
    .signup-modal-card { border-radius: var(--radius-lg); }
    .reassure-stat-num { font-size: 1.4rem; }
}

/* =========================================================================
   Annuaire artistes
   ========================================================================= */
.dir-hero {
    background: var(--gradient-soft);
    padding: clamp(56px, 8vw, 90px) 0 clamp(36px, 5vw, 56px);
    position: relative;
    overflow: hidden;
    text-align: center;
}
.dir-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-glow);
    pointer-events: none;
}
.dir-hero h1 { position: relative; }
.dir-hero .lead { color: var(--text-muted); max-width: 580px; margin: 0 auto 28px; position: relative; }

.dir-search {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 6px;
    max-width: 720px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 6px;
    box-shadow: var(--shadow);
    align-items: center;
}
.dir-search-input {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 16px;
    min-width: 0;
}
@media (max-width: 580px) {
    .dir-search { grid-template-columns: 1fr; border-radius: var(--radius-lg); padding: 8px; }
    .dir-search-select, .dir-search .btn { border-radius: var(--radius); }
}
.dir-search-icon { font-size: 1rem; color: var(--text-light); }
.dir-search-input input {
    flex: 1;
    border: none;
    padding: 10px 4px;
    font-size: .95rem;
    background: transparent;
    font-family: inherit;
    color: var(--text);
}
.dir-search-input input:focus { outline: none; }
.dir-search-select {
    border: none;
    background: var(--gray-50);
    padding: 10px 14px;
    font-size: .9rem;
    border-radius: var(--radius-pill);
    cursor: pointer;
    font-family: inherit;
    color: var(--gray-700);
}
.dir-search .btn { border-radius: var(--radius-pill); }

.dir-content { padding: 56px 0 80px; }
.dir-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.dir-card {
    display: block;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.dir-card:hover {
    color: inherit;
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--purple-200);
}
.dir-avatar {
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--purple-100), var(--blue-300));
    display: grid;
    place-items: center;
    overflow: hidden;
}
.dir-avatar img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.dir-card:hover .dir-avatar img { transform: scale(1.05); }
.dir-avatar-placeholder {
    color: var(--white);
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
}
.dir-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.dir-body h3 {
    margin: 0 0 2px;
    font-size: 1.05rem;
    font-family: var(--font-sans);
}
.dir-headline {
    color: var(--purple-700);
    font-size: .85rem;
    font-weight: 500;
    margin: 0;
}
.dir-style { margin: 4px 0 0; }
.dir-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
    color: var(--text-muted);
    font-size: .8rem;
}

.dir-empty {
    text-align: center;
    padding: 80px 24px;
    background: linear-gradient(135deg, #faf5ff 0%, #eff6ff 100%);
    border-radius: var(--radius-xl);
    border: 1px dashed var(--purple-200);
}
.dir-empty h2 { margin-bottom: 8px; }
.dir-empty .muted { max-width: 480px; margin: 0 auto 24px; }
.dir-empty-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* =========================================================================
   Sélecteur de langue (drapeaux seuls)
   ========================================================================= */
.lang-switch { display: flex; align-items: center; }
.lang-flags {
    display: inline-flex;
    list-style: none;
    margin: 0;
    padding: 2px;
    gap: 1px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 999px;
}
.lang-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 24px;
    border-radius: 4px;
    text-decoration: none;
    transition: transform var(--t-fast), filter var(--t-fast), box-shadow var(--t-fast);
    filter: grayscale(.4) opacity(.75);
    overflow: hidden;
    background: var(--white);
}
.flag-svg {
    width: 26px;
    height: 18px;
    border-radius: 2px;
    display: block;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
    aspect-ratio: 3 / 2;
    object-fit: cover;
}
.lang-flag:hover {
    filter: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(15, 23, 42, .15);
}
.lang-flag.is-active {
    filter: none;
    box-shadow: 0 0 0 2px var(--purple-500), 0 4px 10px rgba(124, 58, 237, .25);
}

/* =========================================================================
   Sélecteur de langue : version DROPDOWN
   ========================================================================= */
.lang-dropdown { position: relative; }
.lang-details { position: relative; }
.lang-details > summary {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid var(--border);
    cursor: pointer;
    font-size: .82rem; font-weight: 600;
    color: var(--purple-700, #6d28d9);
    list-style: none;
    user-select: none;
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.lang-details > summary::-webkit-details-marker { display: none; }
.lang-details > summary::marker { content: ""; }
.lang-details[open] > summary,
.lang-details > summary:hover {
    border-color: var(--purple-300, #c4b5fd);
    box-shadow: 0 4px 10px rgba(124, 58, 237, .15);
}
.lang-current { display: inline-flex; }
.lang-current .flag-svg {
    width: 22px; height: 14px;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
}
.lang-current-code {
    font-size: .78rem; letter-spacing: .04em;
}
.lang-details > summary .cta-caret {
    font-size: .7rem; transition: transform .2s;
}
.lang-details[open] > summary .cta-caret { transform: rotate(180deg); }

.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    list-style: none;
    margin: 0; padding: 6px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .12);
    z-index: 50;
}
.lang-option {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text, #1e293b);
    font-size: .88rem; font-weight: 500;
    transition: background var(--t-fast), color var(--t-fast);
}
.lang-option .flag-svg {
    width: 24px; height: 16px;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
    flex-shrink: 0;
}
.lang-option > span:not(.lang-check) {
    flex: 1;
}
.lang-option:hover {
    background: linear-gradient(135deg, #faf5ff, #eff6ff);
    color: var(--purple-700, #6d28d9);
}
.lang-option.is-active {
    background: linear-gradient(135deg, #f3e8ff, #e0e7ff);
    color: var(--purple-800, #4c1d95);
    font-weight: 600;
}
.lang-check {
    color: var(--purple-600, #7c3aed);
    font-weight: 700;
}

@media (max-width: 540px) {
    .lang-menu { right: auto; left: 0; }
    .lang-current-code { display: none; }
}

/* Forcer Noto Sans JP/KR pour les langues asiatiques */
.lang-ja, .lang-ja * { font-family: 'Noto Sans JP', var(--font-sans); }
.lang-ko, .lang-ko * { font-family: 'Noto Sans KR', var(--font-sans); }
.lang-ja .accent, .lang-ko .accent,
.lang-ja h1, .lang-ja h2, .lang-ja h3, .lang-ja h4,
.lang-ko h1, .lang-ko h2, .lang-ko h3, .lang-ko h4 {
    font-family: inherit;
    font-style: normal;
}

/* =========================================================================
   Marketplace
   ========================================================================= */
.mkt-hero {
    background: var(--gradient-soft);
    padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 64px);
    position: relative;
    overflow: hidden;
    text-align: center;
}
.mkt-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-glow);
    pointer-events: none;
}
.mkt-hero h1 { position: relative; }
.mkt-hero .lead { color: var(--text-muted); max-width: 580px; margin: 0 auto 18px; position: relative; }
.mkt-commissions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    position: relative;
    margin-top: 8px;
}
.mkt-commission-pill {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 8px 18px;
    font-size: .88rem;
    color: var(--gray-700);
    box-shadow: var(--shadow-sm);
}
.mkt-commission-pill strong {
    background: var(--gradient-text);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.1rem;
    margin-right: 6px;
}
.mkt-commission-pill-gallery strong {
    background: var(--gradient-gallery-text);
    -webkit-background-clip: text; background-clip: text;
}
.mkt-content { padding: 56px 0 80px; }
.mkt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
}
.mkt-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
    display: flex;
    flex-direction: column;
}
.mkt-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--purple-200); }
.mkt-link { display: block; }
.mkt-image {
    aspect-ratio: 1;
    background: var(--gray-100);
    display: grid; place-items: center;
    font-size: 2.6rem;
    overflow: hidden;
}
.mkt-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform var(--t-slow);
}
.mkt-card:hover .mkt-image img { transform: scale(1.04); }
.mkt-image.is-placeholder { background: linear-gradient(135deg, var(--purple-100), var(--blue-300)); color: var(--white); }
.mkt-body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.mkt-artist {
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--purple-700);
    text-decoration: none;
}
.mkt-artist:hover { color: var(--purple-900); }
.mkt-card h3 { font-size: 1.05rem; margin: 2px 0 4px; }
.mkt-foot {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 12px;
    flex-wrap: wrap;
}
.mkt-price { font-weight: 700; color: var(--gray-900); font-size: 1rem; }
.mkt-empty {
    text-align: center;
    padding: 80px 24px;
    color: var(--text-muted);
    background: var(--gray-50);
    border-radius: var(--radius);
    border: 1px dashed var(--border-strong);
}

/* =========================================================================
   Public portfolio (refonte)
   ========================================================================= */
.pf-hero {
    position: relative;
    padding: clamp(56px, 9vw, 110px) 0 clamp(48px, 7vw, 80px);
    overflow: hidden;
}
.pf-hero-bg {
    position: absolute; inset: 0;
    background: var(--gradient-soft), var(--gradient-glow);
    pointer-events: none;
}
.pf-hero-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: clamp(28px, 5vw, 56px);
    align-items: center;
    position: relative;
}
.pf-avatar {
    width: clamp(140px, 22vw, 200px);
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    background: var(--gradient-primary);
    border: 6px solid var(--white);
    box-shadow: var(--shadow-xl);
    display: grid; place-items: center;
}
.pf-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pf-avatar-placeholder {
    color: var(--white);
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
}
.pf-identity h1 {
    margin: 0 0 10px;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.1;
}
.pf-headline {
    font-size: 1.05rem;
    color: var(--gray-700);
    font-weight: 500;
    margin: 0 0 6px;
}
.pf-style {
    font-size: .92rem;
    color: var(--text-muted);
    margin: 0 0 18px;
}
.pf-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: .9rem;
}
.pf-cta { display: flex; gap: 10px; flex-wrap: wrap; }

.pf-section { padding: clamp(48px, 7vw, 80px) 0; }
.pf-section-alt { background: var(--bg-soft); }
.pf-h2 {
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    margin: 0 0 22px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--purple-100);
}
.pf-h2-center {
    text-align: center;
    border: none;
    margin-bottom: 36px;
    padding: 0;
}
.pf-block + .pf-block { margin-top: 40px; }
.pf-text {
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--gray-700);
    white-space: pre-wrap;
    margin: 0;
}

.pf-works {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}
.pf-work {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.pf-work:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--purple-200); }
.pf-work-image {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--gray-100);
    display: grid; place-items: center;
    font-size: 3rem;
}
.pf-work-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform var(--t-slow);
}
.pf-work:hover .pf-work-image img { transform: scale(1.04); }
.pf-work-image.is-placeholder { background: linear-gradient(135deg, var(--purple-100), var(--blue-300)); color: var(--white); }
.pf-work-body { padding: 20px 22px; }
.pf-work h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 4px; }
.pf-work-tech { margin-bottom: 10px; }
.pf-work-desc {
    color: var(--gray-700);
    font-size: .92rem;
    margin-bottom: 14px;
}
.pf-work-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}
.pf-work-price {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-style: italic;
}

.pf-timeline { list-style: none; padding: 0; margin: 0; }
.pf-timeline li {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}
.pf-timeline li:last-child { border-bottom: none; }
.pf-timeline-year {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.pf-timeline strong { color: var(--gray-900); }
.pf-timeline p { margin: 4px 0 0; color: var(--text-muted); font-size: .9rem; }
.pf-cv-cat {
    margin: 28px 0 10px;
    color: var(--purple-800);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.pf-contact {
    padding: clamp(48px, 7vw, 80px) 0;
    background: linear-gradient(135deg, #faf5ff 0%, #eff6ff 100%);
}
.pf-contact-lead { text-align: center; color: var(--text-muted); margin-bottom: 32px; }
.pf-contact-form {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: clamp(24px, 4vw, 36px);
    box-shadow: var(--shadow-lg);
}
.pf-contact-form .form-grid { margin-bottom: 16px; }
.pf-contact-form button { margin-top: 8px; }

/* ----- Hero full-bleed (œuvre signature) ----- */
.pf-hero-full {
    min-height: clamp(420px, 80vh, 720px);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    display: flex;
    align-items: flex-end;
    padding: 0;
    position: relative;
}
.pf-hero-full::before { display: none; }
.pf-hero-full-inner {
    width: 100%;
    padding: clamp(40px, 6vw, 72px) var(--gutter);
}
.pf-hero-full-text { max-width: 720px; }
.pf-hero-full h1 {
    color: var(--white);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    text-shadow: 0 2px 20px rgba(0, 0, 0, .35);
    margin-bottom: 12px;
}
.pf-hero-full .pf-headline {
    color: rgba(255, 255, 255, .92);
    font-size: 1.15rem;
}
.pf-hero-full .pf-style { color: rgba(255, 255, 255, .8); }
.pf-hero-full .pf-style .accent {
    background: linear-gradient(120deg, #c4b5fd 0%, #f5d0fe 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.pf-hero-full .pf-meta { color: rgba(255, 255, 255, .85); }
.pf-hero-full .pf-meta a { color: rgba(255, 255, 255, .95); }
.pf-hero-full .btn-light { background: var(--white); color: var(--purple-800); }
.pf-hero-full .btn-ghost { background: rgba(255, 255, 255, .1); color: var(--white); border-color: rgba(255, 255, 255, .25); backdrop-filter: blur(8px); }
.pf-hero-full .btn-ghost:hover { background: rgba(255, 255, 255, .2); color: var(--white); }

/* ----- Masterpiece section ----- */
.pf-masterpiece {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #581c87 100%);
    color: var(--white);
    padding: clamp(56px, 8vw, 90px) 0;
}
.pf-masterpiece .eyebrow {
    background: rgba(255, 255, 255, .12);
    color: var(--white);
    border-color: rgba(255, 255, 255, .2);
    margin: 0 auto 22px;
    display: block;
    width: fit-content;
}
.pf-masterpiece-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
}
.pf-masterpiece-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.pf-masterpiece-image img { width: 100%; height: auto; display: block; }
.pf-masterpiece-title {
    color: var(--white);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin: 0 0 10px;
}
.pf-masterpiece .muted { color: rgba(255, 255, 255, .7); }
.pf-masterpiece .pf-text { color: rgba(255, 255, 255, .92); margin: 18px 0; }
.pf-masterpiece .pf-work-price {
    color: var(--white);
    background: linear-gradient(120deg, #c4b5fd 0%, #f5d0fe 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pf-masterpiece-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ----- Filtre par série ----- */
.pf-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
}
.pf-filter-btn {
    padding: 7px 16px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--gray-700);
    border-radius: 999px;
    font-weight: 600;
    font-size: .85rem;
    cursor: pointer;
    transition: all var(--t-fast);
    font-family: inherit;
}
.pf-filter-btn:hover { border-color: var(--purple-300); color: var(--purple-700); }
.pf-filter-btn.is-active { background: var(--gradient-deep); color: var(--white); border-color: transparent; }

/* ----- Bouton Like + modal ----- */
.pf-like-btn {
    transition: all var(--t);
}
.pf-like-btn.is-liked {
    background: linear-gradient(135deg, #fb7185 0%, #ec4899 100%);
    color: var(--white);
    border-color: transparent;
}
.like-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .55);
    backdrop-filter: blur(4px);
    display: grid;
    place-items: center;
    z-index: 100;
    padding: 16px;
    animation: fade-in .25s ease;
}
.like-modal[hidden] { display: none; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.like-modal-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 36px 28px 28px;
    width: 100%;
    max-width: 380px;
    position: relative;
    box-shadow: var(--shadow-xl);
    animation: pop-in .35s var(--t);
}
@keyframes pop-in { from { transform: scale(.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.like-modal-close {
    position: absolute;
    top: 12px; right: 14px;
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--gray-400);
    width: 32px; height: 32px;
    border-radius: 50%;
}
.like-modal-close:hover { background: var(--gray-100); color: var(--gray-700); }
.like-modal-card h3 { margin: 0 0 4px; }
.like-modal-card form { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }

/* ----- Work flags (badges sur cartes éditeur) ----- */
.work-flags {
    position: absolute;
    top: 8px; left: 8px;
    display: flex;
    gap: 4px;
    z-index: 1;
}
.work-flag {
    background: rgba(255, 255, 255, .95);
    border-radius: 50%;
    width: 28px; height: 28px;
    display: grid; place-items: center;
    font-size: .9rem;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}
.work-flag-hidden { background: rgba(239, 68, 68, .9); color: var(--white); }
.work-thumb { position: relative; }
.work-tag {
    display: inline-block;
    margin: 4px 0 8px;
    padding: 2px 10px;
    background: var(--purple-50);
    color: var(--purple-700);
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 600;
}
.work-edit {
    position: relative;
}
.work-edit summary {
    list-style: none;
    cursor: pointer;
    width: 32px; height: 32px;
    background: rgba(255, 255, 255, .9);
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-size: 1rem;
    box-shadow: var(--shadow-sm);
}
.work-edit summary::-webkit-details-marker { display: none; }
.work-edit-form {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
    width: 240px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 4;
}
.work-edit-form .toggle { padding: 4px 0; }
.work-edit-form input[type=text] {
    padding: 7px 10px;
    border: 1px solid var(--border-strong);
    border-radius: 6px;
    font-size: .85rem;
}

/* =========================================================================
   Editor — messages, stats, profile fieldsets, toggle
   ========================================================================= */

/* Sidebar badge */
.dash-nav a { position: relative; }
.dash-nav-badge {
    margin-left: auto;
    background: var(--danger-500);
    color: var(--white);
    font-size: .68rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}
.dash-nav a.is-active .dash-nav-badge { background: var(--white); color: var(--purple-700); }

/* Fieldsets dans formulaire profil */
.form-fieldset {
    border: none;
    padding: 0;
    margin: 0 0 28px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 24px;
}
.form-fieldset:last-of-type { border-bottom: none; padding-bottom: 0; }
.form-fieldset legend {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--purple-700);
    margin-bottom: 14px;
    padding: 0;
}

/* Toggle switch */
.toggle {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    cursor: pointer;
    padding: 12px 0;
}
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-slider {
    flex-shrink: 0;
    width: 44px; height: 24px;
    background: var(--gray-300);
    border-radius: 99px;
    position: relative;
    transition: background var(--t);
    margin-top: 2px;
}
.toggle-slider::after {
    content: '';
    position: absolute;
    top: 3px; left: 3px;
    width: 18px; height: 18px;
    background: var(--white);
    border-radius: 50%;
    transition: left var(--t);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .15);
}
.toggle input:checked + .toggle-slider { background: var(--gradient-deep); }
.toggle input:checked + .toggle-slider::after { left: 23px; }
.toggle-text { display: flex; flex-direction: column; gap: 2px; }
.toggle-text strong { font-size: .92rem; }
.toggle-text .muted { font-weight: normal; }

/* Messages list */
.msg-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.msg-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.msg-item:hover { border-color: var(--purple-200); box-shadow: var(--shadow-sm); }
.msg-item.is-unread {
    background: linear-gradient(90deg, rgba(124, 58, 237, .04), transparent 60%);
    border-color: var(--purple-200);
    border-left: 3px solid var(--purple-600);
}
.msg-link {
    display: block;
    padding: 14px 18px;
    text-decoration: none;
    color: inherit;
}
.msg-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.msg-subject { margin: 4px 0 2px; font-weight: 600; color: var(--gray-900); }
.msg-preview { margin: 0; }
.msg-tag {
    display: inline-block;
    margin-top: 6px;
    padding: 2px 8px;
    background: var(--purple-50);
    color: var(--purple-700);
    border-radius: 99px;
    font-size: .72rem;
    font-weight: 600;
}
.msg-archive { margin-top: 32px; }
.msg-archive summary {
    cursor: pointer;
    padding: 10px 14px;
    background: var(--gray-50);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-weight: 500;
    color: var(--text-muted);
}
.msg-archive[open] summary { margin-bottom: 10px; }

/* Detail message */
.msg-detail {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}
.msg-body {
    white-space: pre-wrap;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-800);
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 18px;
}
.msg-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Period switch (sub-pages) */
.period-switch {
    display: inline-flex;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 4px;
    gap: 2px;
}
.period-switch a {
    padding: 7px 14px;
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 600;
    font-size: .82rem;
    border-radius: 6px;
    transition: all var(--t-fast);
}
.period-switch a:hover { color: var(--purple-700); }
.period-switch a.is-active { background: var(--gradient-deep); color: var(--white); }

/* Dashboard table (stats artiste) */
.dash-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.dash-table th, .dash-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    text-align: left;
}
.dash-table th { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-light); font-weight: 600; }
.dash-table .ta-right { text-align: right; }

/* =========================================================================
   Animations smooth (reveal au scroll, hover, micro-interactions)
   ========================================================================= */

@keyframes reveal-up {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes reveal-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes mockup-float {
    0%, 100% { transform: rotate(-1.5deg) translateY(0); }
    50%      { transform: rotate(-1.5deg) translateY(-10px); }
}

/* Hero — fade-in à l'arrivée */
.hero-content > * { animation: reveal-up .5s ease backwards; }
.hero-content .eyebrow  { animation-delay: .03s; }
.hero-content h1        { animation-delay: .1s; }
.hero-content .lead     { animation-delay: .17s; }
.hero-content .hero-cta { animation-delay: .24s; }
.hero-content .hero-trust { animation-delay: .31s; }

.hero-visual { animation: reveal-fade .8s ease both; animation-delay: .1s; }
.mockup { animation: mockup-float 6s ease-in-out infinite; }
.mockup:hover { animation-play-state: paused; transform: rotate(0); }

/* Reveal au scroll : éléments avec [data-reveal] */
[data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .4s ease, transform .4s ease;
}
[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}
[data-reveal-delay="1"].is-visible { transition-delay: .04s; }
[data-reveal-delay="2"].is-visible { transition-delay: .08s; }
[data-reveal-delay="3"].is-visible { transition-delay: .12s; }
[data-reveal-delay="4"].is-visible { transition-delay: .16s; }
[data-reveal-delay="5"].is-visible { transition-delay: .20s; }

/* Cards — élévation plus subtile */
.card, .feature, .artwork-card, .steps li {
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

/* Liens de nav — soulignement animé */
.nav-list li > a:not(.btn) {
    position: relative;
}
.nav-list li > a:not(.btn)::after {
    content: '';
    position: absolute;
    left: 12px; right: 12px; bottom: 4px;
    height: 1.5px;
    background: var(--gradient-text);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t);
}
.nav-list li > a:not(.btn):hover::after { transform: scaleX(1); }

/* Préférences utilisateur : reduce motion */
/* =========================================================================
   POLISH RESPONSIVE FINAL — couvre les cas non-couverts au-dessus
   ========================================================================= */

/* ≤ 720px : nav, mid-cta, thread, propose, criteria, duo */
@media (max-width: 720px) {
    .pg-hero-cta { flex-direction: column; align-items: stretch; }
    .pg-hero-cta .btn { width: 100%; }
    .thread-form { flex-direction: column; align-items: stretch; }
    .thread-form button { width: 100%; }
    .thread-msg { max-width: 92%; }
    .propose-banner .container { flex-direction: column; align-items: flex-start; }
    .propose-banner-form { width: 100%; }
    .propose-banner-form summary { width: 100%; justify-content: center; }
    .criteria-grid { grid-template-columns: 1fr; gap: 14px; }
    .criterion-card { padding: 22px; }
    .criterion-weight { font-size: 1.4rem; top: 14px; right: 16px; }
    .duo-card { padding: 24px; }
    .duo-card h3 { font-size: 1.2rem; }
    .featured-galleries { grid-template-columns: 1fr; }
    .featured-gallery-card { flex-direction: row; align-items: center; padding: 16px; }
    .featured-gallery-logo { width: 56px; height: 56px; flex-shrink: 0; }
    .featured-represented { margin: 0; }
    /* Curatorial quote sur mobile */
    .curatorial-quote { padding: 28px 20px 22px; }
    .curatorial-mark { font-size: 3rem; top: -4px; left: 16px; }
    /* Reasons-cards de matching */
    .ct-grid { grid-template-columns: 1fr; }
    .ct-reasons { position: static; }
    /* Comparison tables : assurer scroll horizontal */
    .pg-cmp { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    /* CTA card actions stack */
    .cta-card-actions { flex-direction: column; gap: 10px; }
    .cta-card-actions .btn { width: 100%; }
    /* Match score plus petit */
    .match-score-ring { width: 72px; height: 72px; }
    .match-score-ring span { font-size: 1.2rem; }
}

/* ≤ 480px : ajustements typographiques */
@media (max-width: 480px) {
    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.3rem; }
    .pg-hero h1 { font-size: 1.7rem; }
    .ct-hero h1 { font-size: 2rem; }
    .container { --gutter: 14px; padding: 0 14px; }
    /* Stats grid : 2 colonnes au lieu de 1 pour gagner de la place */
    .pg-hero-stats { gap: 12px; }
    .pg-hero-stats li { flex-basis: calc(50% - 6px); align-items: center; }
    .pg-hero-stats strong { font-size: 1.05rem; }
    .reassure-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .reassure-stat-num { font-size: 1.3rem; }
    .reassure-stat span { font-size: .65rem; }
    /* Curatorial quote text plus petit */
    .curatorial-quote p { font-size: 1rem; line-height: 1.55; }
    /* Match card : 1 colonne mais centrée */
    .match-card { padding: 18px; }
    /* Page editor : padding réduit */
    .dash-main { padding: 18px 14px 64px; }
    .dash-page-head h1 { font-size: 1.3rem; }
    .form-card-elevated { padding: 16px; }
    .form-fieldset { padding-bottom: 16px; margin-bottom: 16px; }
    /* Sticky CTA bar minimaliste */
    .sticky-cta-text { display: none; }
    .sticky-cta { width: auto; padding: 6px 6px 6px 12px; }
    /* Marketplace mkt-grid plus serré */
    .mkt-grid { gap: 10px; }
    /* Admin tables */
    .admin-table { font-size: .78rem; }
    .admin-table th, .admin-table td { padding: 8px 6px; }
}

/* ≤ 380px : très petits écrans (iPhone SE) */
@media (max-width: 380px) {
    .container { padding: 0 12px; }
    .header-inner { gap: 8px; }
    .logo-img { height: 36px; }
    .pg-hero { padding: 40px 0 32px; }
    .pg-hero h1 { font-size: 1.5rem; }
    .pg-hero .lead { font-size: .92rem; }
    .pg-hero-stats { flex-direction: row; flex-wrap: wrap; }
    .ct-hero h1 { font-size: 1.7rem; }
    .reassure-stats { grid-template-columns: 1fr 1fr; }
    /* Forms : input plus petits */
    .form-field input, .form-field textarea, .form-field select { padding: 10px 12px; font-size: .92rem; }
    /* Boutons */
    .btn { padding: 10px 16px; font-size: .85rem; }
    .btn-lg { padding: 12px 20px; font-size: .92rem; }
    /* Dashboard hero */
    .dash-hero { padding: 18px 16px; }
    .dash-hero h1 { font-size: 1.2rem; }
    .progress-ring { --size: 88px; }
    .progress-ring-value { font-size: 1.3rem; }
    /* Curatorial quote */
    .curatorial-quote { padding: 24px 16px 18px; }
    .curatorial-mark { font-size: 2.4rem; }
    /* Cards features sur mobile */
    .pg-features { gap: 24px; }
    .pg-feature-num span { font-size: 2.6rem; }
    .pg-feature-body h3 { font-size: 1.05rem; }
    .pg-feature-body p { font-size: .88rem; }
    /* Lang flags compacts */
    .lang-flag { width: 28px; height: 22px; }
    .flag-svg { width: 22px; height: 16px; }
    /* Hide muted small in some contexts pour gagner place */
    .nav-menu-body .muted { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Lien Aria dans la navbar */
.nav-aria {
    display: inline-flex !important; align-items: center; gap: 6px;
    padding: 4px 12px 4px 4px !important;
    border-radius: 999px;
    background: linear-gradient(135deg, #f3e8ff, #e0e7ff);
    color: #4c1d95 !important;
    font-weight: 600;
    transition: transform .15s, box-shadow .15s;
}
.nav-aria:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(124,58,237,.25);
}
.nav-aria-mark {
    display: inline-block;
    width: 24px; height: 24px;
    background: #fff;
    border-radius: 50%;
    padding: 2px;
    flex-shrink: 0;
}

/* =========================================================================
   SEO landings — design enrichi (long-form, schema-rich)
   ========================================================================= */
.seo-hero {
    padding: 64px 0 40px;
    background: linear-gradient(135deg, #faf5ff 0%, #eff6ff 100%);
    border-bottom: 1px solid #e9d5ff;
}
.seo-hero-inner { max-width: 880px; margin: 0 auto; text-align: center; }
.seo-breadcrumb { font-size: .85rem; color: #94a3b8; margin: 0 0 18px; }
.seo-breadcrumb ol { list-style: none; display: inline-flex; gap: 8px; padding: 0; margin: 0; }
.seo-breadcrumb a { color: #6d28d9; text-decoration: none; }
.seo-breadcrumb li + li::before { content: "›"; margin-right: 8px; color: #cbd5e1; }
.seo-hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin: 8px 0 14px; }
.seo-hero .lead { font-size: 1.15rem; color: #475569; max-width: 760px; margin: 0 auto; }
.seo-hero-cta {
    margin: 28px 0 24px;
    display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 12px;
}
.seo-stats {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px; max-width: 720px; margin: 28px auto 0;
}
.seo-stat {
    background: #fff; border: 1px solid #e9d5ff;
    border-radius: 12px; padding: 14px 16px;
    text-align: center;
}
.seo-stat strong {
    display: block; font-size: 1.6rem; font-weight: 700;
    color: #4c1d95; margin-bottom: 4px;
    font-family: 'Playfair Display', serif;
}
.seo-stat span { color: #64748b; font-size: .82rem; }

.seo-article {
    max-width: 820px; margin: 56px auto;
    padding: 0 18px;
    font-size: 1.05rem; line-height: 1.8; color: #1f2937;
}
.seo-article h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 36px 0 14px; color: #1e1b4b;
}
.seo-article h3 {
    font-size: 1.15rem; margin: 24px 0 8px; color: #312e81;
}
.seo-article p { margin: 0 0 16px; }
.seo-article ul, .seo-article ol { margin: 0 0 16px 22px; }
.seo-article li { margin-bottom: 6px; }
.seo-article strong { color: #1e1b4b; }
.seo-article a { color: #6d28d9; text-decoration: underline; text-decoration-color: #c4b5fd; }
.seo-article code { background: #f1f5f9; padding: 1px 6px; border-radius: 4px; font-size: .9em; color: #4c1d95; }
.seo-article table {
    width: 100%; border-collapse: collapse; margin: 18px 0;
    font-size: .92rem;
}
.seo-article th, .seo-article td {
    padding: 10px 12px; text-align: left;
    border-bottom: 1px solid #e2e8f0;
}
.seo-article th {
    background: #faf5ff; color: #4c1d95;
    font-weight: 600; font-size: .82rem;
    text-transform: uppercase; letter-spacing: .04em;
}

.seo-features-section {
    background: #fff; padding: 56px 0;
    border-top: 1px solid #f1f5f9; border-bottom: 1px solid #f1f5f9;
}
.seo-section-title {
    text-align: center; margin: 0 0 36px;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem); color: #1e1b4b;
}
.seo-features-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px; max-width: 1080px; margin: 0 auto;
}
.seo-feature {
    background: linear-gradient(135deg, #faf5ff, #fff);
    border: 1px solid #e9d5ff; border-radius: 14px;
    padding: 22px;
}
.seo-feature h3 { margin: 0 0 10px; font-size: 1rem; color: #4c1d95; }
.seo-feature p { margin: 0; color: #475569; font-size: .92rem; line-height: 1.55; }

.seo-faq-section { padding: 56px 0; background: linear-gradient(180deg, #fff, #faf5ff 80%); }
.seo-faq details {
    background: #fff; border: 1px solid #e9d5ff;
    border-radius: 12px; padding: 16px 20px;
    margin: 0 0 12px;
}
.seo-faq summary {
    cursor: pointer; font-weight: 600;
    color: #1e1b4b; font-size: 1.02rem;
}
.seo-faq summary:hover { color: #6d28d9; }
.seo-faq-answer { margin: 12px 0 0; color: #475569; line-height: 1.65; }
.seo-faq-answer p { margin: 0 0 8px; }

.seo-related { padding: 56px 0; }
.seo-related-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px; max-width: 1100px; margin: 0 auto;
}
.seo-related-card {
    display: flex; flex-direction: column; gap: 4px;
    padding: 18px; background: #fff;
    border: 1px solid #e9d5ff; border-radius: 12px;
    text-decoration: none; color: inherit;
    transition: transform .15s, box-shadow .15s, border-color .15s;
}
.seo-related-card:hover {
    transform: translateY(-3px);
    border-color: #c4b5fd;
    box-shadow: 0 8px 22px rgba(124,58,237,.15);
}
.seo-related-icon { font-size: 1.6rem; }
.seo-related-card strong { color: #4c1d95; font-size: .98rem; }
.seo-related-card > span:not(.seo-related-icon) { color: #64748b; font-size: .82rem; }

.seo-cta-final {
    padding: 64px 0 80px;
    background: linear-gradient(135deg, #faf5ff, #ede9fe);
    text-align: center;
}
.seo-cta-final h2 { margin: 0 0 12px; color: #4c1d95; font-size: clamp(1.6rem, 3vw, 2rem); }
.seo-cta-final p { color: #5b21b6; margin: 0 0 24px; font-size: 1.05rem; }
.seo-cta-final > div .btn { margin: 4px; }

@media (max-width: 540px) {
    .seo-hero { padding: 40px 0 28px; }
    .seo-stats { grid-template-columns: 1fr 1fr; }
    .seo-features-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   Aria — assistante IA
   ========================================================================= */
.page-aria { background: linear-gradient(180deg, #faf5ff 0%, #fff 30%); }

.aria-hero { padding: 56px 0 40px; }
.aria-hero-grid {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px;
    align-items: center;
}
.aria-hero h1 {
    display: flex; align-items: center; gap: 16px; margin: 8px 0 18px;
    font-size: clamp(2rem, 4.5vw, 3rem);
}
.aria-logo-mark {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: #fff;
    padding: 6px;
    box-shadow: 0 8px 22px rgba(59,130,246,.25);
    border: 1px solid #dbeafe;
    display: inline-block;
}
.aria-hero .lead { font-size: 1.1rem; color: #475569; margin: 0 0 20px; }
.aria-credit { color: #94a3b8; font-size: .85rem; margin: 0; letter-spacing: .02em; }

.aria-capabilities {
    background: #fff; border: 1px solid #e9d5ff; border-radius: 16px;
    padding: 24px 28px; box-shadow: 0 12px 32px rgba(124,58,237,.08);
}
.aria-capabilities h2 { font-size: 1.05rem; margin: 0 0 14px; color: #4c1d95; }
.aria-capabilities ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.aria-capabilities li { font-size: .92rem; color: #1f2937; }

.aria-chat-section { padding: 24px 0 80px; }
.aria-chat {
    background: #fff;
    border: 1px solid #e2e8f0; border-radius: 18px;
    box-shadow: 0 16px 48px rgba(15,23,42,.08);
    overflow: hidden;
    display: flex; flex-direction: column;
    min-height: 520px;
}
.aria-chat-header {
    display: flex; align-items: center; gap: 14px;
    padding: 18px 22px;
    border-bottom: 1px solid #f1f5f9;
    background: linear-gradient(135deg, #faf5ff, #eff6ff);
}
.aria-header-text { flex: 1; min-width: 0; }
.aria-chat-header .aria-reset {
    background: #fff;
    border: 1.5px solid #c4b5fd;
    color: #6d28d9;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .15s, transform .15s;
}
.aria-chat-header .aria-reset:hover {
    background: linear-gradient(135deg, #faf5ff, #ede9fe);
    transform: translateY(-1px);
}
@media (max-width: 540px) {
    .aria-chat-header .aria-reset { font-size: 0; padding: 8px 10px; }
    .aria-chat-header .aria-reset::before { content: "🗑️"; font-size: 1rem; }
}
.aria-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(59,130,246,.25);
    border: 1px solid #dbeafe;
    padding: 4px;
}
.aria-avatar > * { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.aria-avatar-logo {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    display: block;
    margin: auto;
}
.aria-chat-header strong { display: block; color: #1e1b4b; }
.aria-status { font-size: .78rem; color: #16a34a; }
.aria-dot {
    display: inline-block; width: 8px; height: 8px; border-radius: 50%;
    background: #22c55e; margin-right: 4px;
    animation: aria-pulse 1.6s infinite ease-in-out;
}
@keyframes aria-pulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50% { opacity: .6; transform: scale(1.3); }
}

.aria-messages {
    flex: 1; padding: 22px 22px 12px;
    overflow-y: auto; max-height: 480px;
    display: flex; flex-direction: column; gap: 14px;
}
.aria-msg { display: flex; }
.aria-msg-user { justify-content: flex-end; }
.aria-bubble {
    max-width: 75%;
    padding: 12px 16px;
    border-radius: 16px;
    line-height: 1.55;
    font-size: .95rem;
}
.aria-msg-bot .aria-bubble {
    background: #f8fafc; border: 1px solid #e2e8f0;
    color: #1e293b; border-bottom-left-radius: 4px;
}
.aria-msg-user .aria-bubble {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: #fff; border-bottom-right-radius: 4px;
}
/* Markdown rich rendering inside bubble */
.aria-bubble strong { color: #6d28d9; font-weight: 700; }
.aria-msg-user .aria-bubble strong { color: #fff; }
.aria-bubble em { color: #5b21b6; font-style: italic; }
.aria-msg-user .aria-bubble em { color: rgba(255,255,255,.92); }
.aria-bubble h2 { font-size: 1.05rem; color: #4c1d95; margin: 12px 0 6px; font-weight: 700; }
.aria-bubble h3 { font-size: .98rem; color: #5b21b6; margin: 10px 0 4px; font-weight: 600; }
.aria-bubble h4 { font-size: .92rem; color: #6d28d9; margin: 8px 0 4px; font-weight: 600; }
.aria-msg-user .aria-bubble h2,
.aria-msg-user .aria-bubble h3,
.aria-msg-user .aria-bubble h4 { color: #fff; }
.aria-bubble ul, .aria-bubble ol { margin: 6px 0 6px 18px; padding: 0; }
.aria-bubble li { margin: 3px 0; }
.aria-bubble li::marker { color: #7c3aed; }
.aria-msg-user .aria-bubble li::marker { color: #fff; }
.aria-bubble blockquote {
    border-left: 3px solid #c4b5fd;
    padding: 4px 12px; margin: 8px 0;
    color: #5b21b6; background: #faf5ff;
    border-radius: 0 6px 6px 0;
}
.aria-bubble code {
    background: rgba(124,58,237,.12); color: #4c1d95;
    padding: 1px 6px; border-radius: 4px; font-size: .88em;
}
.aria-msg-user .aria-bubble code { background: rgba(255,255,255,.2); color: #fff; }
.aria-bubble a { color: #6d28d9; text-decoration: underline; }
.aria-msg-user .aria-bubble a { color: #fff; }

/* Quick replies (boutons sous une bulle) */
.aria-quick-replies {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin: 10px 0 0 8px;
    max-width: 75%;
}
.aria-qr-btn {
    background: #fff;
    border: 1.5px solid #c4b5fd;
    color: #6d28d9;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, transform .15s, box-shadow .15s;
}
.aria-qr-btn:hover {
    background: linear-gradient(135deg, #faf5ff, #ede9fe);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(124,58,237,.2);
}
.aria-qr-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.aria-typing .aria-bubble { padding: 14px 18px; }
.aria-thinking .aria-bubble {
    padding: 14px 18px;
    background: linear-gradient(135deg, #faf5ff, #eff6ff);
    border-color: #c4b5fd;
}
.aria-thinking-row {
    display: flex; align-items: center; gap: 10px;
    color: #6d28d9; font-size: .92rem; font-weight: 500;
}
.aria-shimmer {
    background: linear-gradient(90deg, #6d28d9 0%, #c4b5fd 30%, #6d28d9 60%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    animation: aria-shimmer 1.8s linear infinite;
}
@keyframes aria-shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}
.aria-tool-spinner {
    width: 14px; height: 14px; border-radius: 50%;
    border: 2px solid #e9d5ff; border-top-color: #7c3aed;
    animation: aria-spin .8s linear infinite;
    flex-shrink: 0;
}
@keyframes aria-spin { to { transform: rotate(360deg); } }

.aria-dots { display: inline-flex; gap: 4px; }
.aria-dots span {
    width: 7px; height: 7px; border-radius: 50%;
    background: #7c3aed;
    animation: aria-bounce 1.2s infinite ease-in-out;
}
.aria-dots span:nth-child(2) { animation-delay: .2s; }
.aria-dots span:nth-child(3) { animation-delay: .4s; }
@keyframes aria-bounce {
    0%,80%,100% { transform: scale(.8); opacity: .5; }
    40% { transform: scale(1.2); opacity: 1; }
}

/* Caret typewriter */
.aria-caret {
    display: inline-block;
    width: 8px; height: 18px;
    background: #7c3aed;
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: aria-blink 1s step-end infinite;
    border-radius: 1px;
}
@keyframes aria-blink {
    0%,50% { opacity: 1; }
    50.01%,100% { opacity: 0; }
}
.aria-typed { display: inline; }

.aria-error { color: #b91c1c; font-weight: 500; }

.aria-bubble pre {
    background: #1e1b4b; color: #e0e7ff;
    padding: 10px 14px; border-radius: 8px;
    overflow-x: auto; margin: 8px 0;
    font-size: .85rem; line-height: 1.4;
}
.aria-bubble pre code { background: transparent; padding: 0; color: inherit; }

.aria-input {
    display: flex; gap: 10px;
    padding: 14px 18px; border-top: 1px solid #f1f5f9;
    background: #fff;
}
.aria-input textarea {
    flex: 1; resize: none; padding: 10px 14px;
    border: 1px solid #cbd5e1; border-radius: 10px;
    font: inherit; font-size: .95rem;
    outline: none; transition: border-color .15s, box-shadow .15s;
}
.aria-input textarea:focus { border-color: #c4b5fd; box-shadow: 0 0 0 3px rgba(196,181,253,.4); }
.aria-input button { white-space: nowrap; }
.aria-attach-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 10px;
    background: #f8fafc; border: 1px solid #cbd5e1; cursor: pointer;
    font-size: 1.2rem; user-select: none;
    transition: background .15s, border-color .15s;
}
.aria-attach-btn:hover { background: #ede9fe; border-color: #c4b5fd; }

.aria-attachments {
    display: flex; flex-wrap: wrap; gap: 8px;
    padding: 8px 14px; background: #ede9fe;
    border-top: 1px solid #ddd6fe;
}
.aria-attachments[hidden] { display: none; }
.aria-attachment {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 4px 8px; background: #fff;
    border: 1px solid #c4b5fd; border-radius: 999px;
    font-size: .85rem; max-width: 100%;
}
.aria-attachment img {
    width: 40px; height: 40px; object-fit: cover; border-radius: 6px;
    border: 1px solid #c4b5fd;
}
.aria-attachment span { flex: 1; color: #4c1d95; font-weight: 500; }
.aria-attachment button {
    background: transparent; border: none; cursor: pointer;
    color: #6d28d9; font-size: 1rem; padding: 4px 8px;
}
.aria-attachment button:hover { color: #4c1d95; }

.aria-quick-actions {
    display: flex; flex-wrap: wrap; gap: 8px;
    padding: 14px 18px 18px; background: #faf5ff;
    border-top: 1px solid #f1f5f9;
}
.aria-quick-actions button {
    background: #fff; border: 1px solid #e2e8f0;
    padding: 7px 13px; border-radius: 999px;
    font-size: .82rem; cursor: pointer;
    transition: background .15s, border-color .15s, color .15s;
}
.aria-quick-actions button:hover {
    background: linear-gradient(135deg, #faf5ff, #eff6ff);
    border-color: #c4b5fd; color: #4c1d95;
}

.aria-disclaimer {
    margin: 18px auto 0; padding: 14px 18px;
    background: #fef3c7; border: 1px solid #fde68a;
    border-radius: 12px;
    color: #78350f; font-size: .85rem;
    display: flex; justify-content: space-between; align-items: center; gap: 14px;
    flex-wrap: wrap;
}
.aria-reset {
    background: transparent; border: 1px solid #92400e; color: #92400e;
    padding: 6px 12px; border-radius: 999px; font-size: .78rem;
    cursor: pointer; flex-shrink: 0;
}
.aria-reset:hover { background: #fef3c7; }

/* Variante embarquée : Aria intégrée dans un dashboard (artiste / galerie) */
.dash-section-aria .dash-section-head h2 {
    display: flex; align-items: center; gap: 12px;
}
.dash-aria-mark {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: #fff;
    padding: 4px;
    box-shadow: 0 6px 16px rgba(124,58,237,.18);
    border: 1px solid #ddd6fe;
    flex-shrink: 0;
}
/* Variante "prominent" : panneau Aria en haut du dashboard */
.dash-section-aria-prominent {
    background: linear-gradient(135deg, #faf5ff 0%, #eff6ff 100%);
    border: 1px solid #e9d5ff;
    border-radius: 18px;
    padding: 22px 24px 20px;
    margin-bottom: 28px;
    box-shadow: 0 8px 24px rgba(124,58,237,.08);
}
.dash-section-aria-prominent .dash-section-head h2 {
    font-size: 1.25rem;
    margin: 0;
}
.dash-section-aria-prominent .dash-section-head p {
    margin: 4px 0 0;
    font-size: .92rem;
}
.aria-chat-embedded {
    min-height: 0;
    border-color: #e9d5ff;
    box-shadow: 0 12px 32px rgba(124,58,237,.10);
    margin-top: 14px;
}
.aria-chat-embedded .aria-messages {
    max-height: 360px;
    padding: 18px 18px 8px;
}
.aria-chat-embedded .aria-chat-header {
    padding: 14px 18px;
}
.aria-chat-embedded .aria-input {
    padding: 12px 14px;
}
.aria-chat-embedded .aria-quick-actions {
    padding: 10px 14px 14px;
}
.aria-chat-embedded .aria-bubble {
    max-width: 82%;
    font-size: .92rem;
}
@media (max-width: 760px) {
    .aria-chat-embedded .aria-messages { max-height: 320px; }
    .aria-chat-embedded .aria-bubble { max-width: 90%; }
}

/* Floating button on toutes les pages */
.aria-fab {
    position: fixed; bottom: 24px; right: 24px;
    z-index: 100;
    width: 60px; height: 60px; border-radius: 50%;
    background: #fff;
    border: 1.5px solid #dbeafe;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(59,130,246,.35);
    transition: transform .2s, box-shadow .2s;
    padding: 8px;
}
.aria-fab img { width: 100%; height: 100%; object-fit: contain; }
.aria-fab:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 14px 36px rgba(59,130,246,.5);
}
.aria-fab::after {
    content: "Aria";
    position: absolute; bottom: 100%; right: 0;
    background: #1e1b4b; color: #fff;
    padding: 4px 10px; border-radius: 8px;
    font-family: 'Inter', sans-serif; font-size: .75rem; font-weight: 500;
    white-space: nowrap;
    opacity: 0; transform: translateY(6px);
    transition: opacity .2s, transform .2s;
    pointer-events: none;
    margin-bottom: 8px;
}
.aria-fab:hover::after { opacity: 1; transform: translateY(0); }

@media (max-width: 760px) {
    .aria-hero-grid { grid-template-columns: 1fr; gap: 28px; }
    .aria-bubble { max-width: 88%; }
    .aria-fab { width: auto; height: auto; bottom: 14px; left: 12px; right: auto; padding: 0; }
    .aria-chat { min-height: 460px; border-radius: 14px; }
    .aria-chat-header { padding: 14px 16px; gap: 10px; }
    .aria-input { padding: 12px 14px; gap: 8px; }
    .aria-input textarea { font-size: 16px; }
    .aria-quick-actions { padding: 12px 14px 14px; }
    .aria-quick-actions button { font-size: .78rem; padding: 6px 11px; }
    .aria-disclaimer { font-size: .8rem; padding: 12px 14px; flex-direction: column; align-items: flex-start; }
    .aria-attach-btn { width: 38px; height: 38px; }
    .aria-hero h1 { gap: 12px; font-size: clamp(1.6rem, 6vw, 2.2rem); }
    .aria-logo-mark { width: 44px; height: 44px; }
    .aria-capabilities { padding: 18px 20px; }
}

/* =========================================================================
   Homepage : section templates + SEO solutions grid
   ========================================================================= */
.section-templates { padding: 64px 0; }
.hp-tpl-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px; margin-top: 36px;
}
.hp-tpl-card {
    background: #fff; border: 1px solid #e9d5ff;
    border-radius: 14px; overflow: hidden;
    text-decoration: none; color: inherit;
    transition: transform .2s, box-shadow .2s;
    display: flex; flex-direction: column;
}
.hp-tpl-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(124,58,237,.15); }
.hp-tpl-preview {
    aspect-ratio: 16/10;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 10px; padding: 18px; position: relative;
    font-family: 'Playfair Display', serif;
}
.hp-tpl-classic   { background: linear-gradient(135deg, #faf5ff, #eff6ff); color: #4c1d95; }
.hp-tpl-editorial { background: linear-gradient(135deg, #faf7f2, #ede4d3); color: #1a1a1a; }
.hp-tpl-showcase  { background: linear-gradient(135deg, #1a1a1a, #0b0b0b); color: #f5f5f5; }
.hp-tpl-boutique  { background: linear-gradient(135deg, #fff7ed, #fed7aa); color: #7c2d12; }
.hp-tpl-prestige  { background: linear-gradient(135deg, #1a1816, #0c0a09); color: #d4a574; }
.hp-tpl-name { font-size: 1.6rem; font-weight: 700; }
.hp-tpl-tag {
    position: absolute; top: 10px; right: 10px;
    padding: 3px 10px; border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: .7rem; font-weight: 700; letter-spacing: .05em;
    text-transform: uppercase;
}
.hp-tpl-tag.is-free { background: #dcfce7; color: #166534; }
.hp-tpl-tag.is-premium { background: #fef3c7; color: #92400e; }
.hp-tpl-card p { padding: 14px 18px 18px; margin: 0; color: #475569; font-size: .9rem; line-height: 1.45; }

.hp-seo-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px; margin-top: 36px;
}
.hp-seo-card {
    display: flex; flex-direction: column; gap: 4px;
    padding: 20px;
    background: linear-gradient(135deg, #faf5ff, #fff);
    border: 1px solid #e9d5ff; border-radius: 12px;
    text-decoration: none; color: #1f2937;
    transition: transform .15s, box-shadow .15s;
}
.hp-seo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(124,58,237,.12);
    border-color: #c4b5fd;
}
.hp-seo-icon { font-size: 1.6rem; }
.hp-seo-card strong { color: #4c1d95; font-size: 1rem; line-height: 1.3; }

@media (max-width: 540px) {
    .hp-tpl-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .hp-tpl-name { font-size: 1.2rem; }
    .hp-tpl-card p { padding: 10px 12px 14px; font-size: .82rem; }
    .hp-seo-grid { grid-template-columns: 1fr; }
}

/* Section communauté sur la homepage */
.hp-comm-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px; margin-top: 32px;
}
.hp-comm-card {
    background: #fff; border: 1px solid #e9d5ff;
    border-radius: 14px; padding: 20px;
    transition: transform .15s, box-shadow .15s;
    display: flex; flex-direction: column; gap: 8px;
}
.hp-comm-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(124,58,237,.12);
}
.hp-comm-head { display: flex; justify-content: space-between; align-items: center; }
.hp-comm-badge {
    background: #f1f5f9; color: #475569;
    padding: 3px 10px; border-radius: 999px;
    font-size: .68rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .05em;
}
.hp-comm-badge-open { background: #fef3c7; color: #92400e; }
.hp-comm-card h3 { font-size: 1.05rem; line-height: 1.3; margin: 4px 0 4px; }
.hp-comm-card h3 a { color: #1e1b4b; text-decoration: none; }
.hp-comm-card h3 a:hover { color: #6d28d9; }
.hp-comm-card p { color: #475569; font-size: .9rem; margin: 0; }
.hp-comm-foot { display: flex; justify-content: space-between; padding-top: 8px; border-top: 1px solid #f1f5f9; margin-top: auto; }

@media (max-width: 540px) {
    .hp-comm-grid { grid-template-columns: 1fr; }
}

/* Section blog sur la homepage */
.hp-blog-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px; margin-top: 36px;
}
.hp-blog-card {
    background: #fff; border: 1px solid #e9d5ff;
    border-radius: 14px; overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    display: flex; flex-direction: column;
}
.hp-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(124,58,237,.15);
}
.hp-blog-img { display: block; aspect-ratio: 16/10; overflow: hidden; }
.hp-blog-img img { width: 100%; height: 100%; object-fit: cover; }
.hp-blog-body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.hp-blog-cat {
    align-self: flex-start;
    background: linear-gradient(135deg, #f3e8ff, #e0e7ff);
    color: #6d28d9; padding: 3px 10px;
    border-radius: 999px; font-size: .72rem; font-weight: 600;
    text-decoration: none;
}
.hp-blog-card h3 { font-family: 'Playfair Display', serif; font-size: 1.15rem; margin: 4px 0 4px; line-height: 1.3; }
.hp-blog-card h3 a { color: inherit; text-decoration: none; }
.hp-blog-card h3 a:hover { color: #6d28d9; }
.hp-blog-card p { color: #64748b; font-size: .9rem; margin: 0; }
.hp-blog-meta { color: #94a3b8; font-size: .8rem; margin-top: auto !important; padding-top: 8px; }

@media (max-width: 540px) {
    .hp-blog-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   Sécurité contraste — règle globale CTA blanche sur fond foncé
   (écrase tout :visited / inheritance locale)
   ========================================================================= */
.btn-primary,
.btn-primary *,
.btn-primary:visited,
.btn-primary:link,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    color: #fff !important;
}
/* Idem pour .btn-light qui utilise un fond blanc avec texte violet
   — on force le texte violet pour éviter les "blanc sur blanc" */
.btn-light,
.btn-light:link,
.btn-light:visited,
.btn-light:hover,
.btn-light:focus { color: var(--purple-800, #4c1d95) !important; }

/* =========================================================================
   Accessibilité — focus visible
   ========================================================================= */
:focus-visible {
    outline: 2px solid var(--purple-500);
    outline-offset: 2px;
    border-radius: 4px;
}

/* =========================================================================
   Blog public
   ========================================================================= */
.blog-hero {
    padding: 56px 0 32px;
    background: linear-gradient(135deg, #faf5ff 0%, #eff6ff 100%);
    border-bottom: 1px solid #e9d5ff;
}
.blog-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 12px; }
.blog-hero .lead { font-size: 1.05rem; color: #475569; max-width: 720px; margin: 0 0 20px; }
.blog-search {
    display: flex; gap: 8px; max-width: 520px; margin-top: 20px;
    background: #fff; padding: 6px; border-radius: 12px;
    box-shadow: 0 6px 20px rgba(15,23,42,.06);
}
.blog-search input {
    flex: 1; border: 0; padding: 10px 14px; font: inherit; background: transparent;
}
.blog-search input:focus { outline: 0; }

.blog-section { padding: 48px 0 80px; }
.blog-layout {
    display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 36px;
    align-items: start;
}
.blog-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 24px;
}
.blog-card {
    background: #fff; border-radius: 14px; overflow: hidden;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 16px rgba(15,23,42,.04);
    transition: transform .2s, box-shadow .2s;
    display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(15,23,42,.08); }
.blog-card-img { display: block; aspect-ratio: 16/9; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 16px 18px 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.blog-card-cat {
    display: inline-block; align-self: flex-start;
    padding: 2px 10px; border-radius: 999px;
    font-size: .72rem; font-weight: 600;
    background: linear-gradient(135deg, #f3e8ff, #e0e7ff);
    color: #6d28d9; text-decoration: none;
}
.blog-card h2 {
    font-size: 1.15rem; line-height: 1.3; margin: 4px 0 0;
    font-family: 'Playfair Display', serif;
}
.blog-card h2 a { color: inherit; text-decoration: none; }
.blog-card h2 a:hover { color: var(--purple-600, #7c3aed); }
.blog-card-excerpt { color: #64748b; font-size: .92rem; margin: 4px 0 0; }
.blog-card-meta { color: #94a3b8; font-size: .8rem; margin: auto 0 0; padding-top: 8px; }

.blog-pagination {
    grid-column: 1 / -1; display: flex; justify-content: space-between;
    margin-top: 16px;
}

.blog-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 90px; }
.blog-aside-card {
    background: #fff; border: 1px solid #f1f5f9;
    border-radius: 14px; padding: 18px 20px;
    box-shadow: 0 4px 14px rgba(15,23,42,.04);
}
.blog-aside-card h3 { font-size: 1rem; margin: 0 0 12px; font-family: 'Inter', sans-serif; }
.blog-cat-list, .blog-related-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.blog-cat-list a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 7px 10px; border-radius: 8px;
    text-decoration: none; color: #334155;
    font-size: .88rem; transition: background .15s;
}
.blog-cat-list a:hover, .blog-cat-list a.is-active {
    background: linear-gradient(135deg, #faf5ff, #eff6ff); color: #6d28d9;
}
.blog-cat-list .cat-count {
    background: rgba(124,58,237,.1); color: #6d28d9;
    padding: 1px 8px; border-radius: 999px; font-size: .72rem; font-weight: 700;
}
.blog-related-list li { padding: 8px 0; border-bottom: 1px solid #f1f5f9; }
.blog-related-list li:last-child { border-bottom: 0; }
.blog-related-list a {
    display: flex; flex-direction: column; gap: 3px;
    color: #334155; text-decoration: none; font-size: .9rem;
}
.blog-related-list a:hover strong { color: #6d28d9; }

.blog-aside-cta {
    background: linear-gradient(135deg, #faf5ff, #ede9fe);
    border-color: #c4b5fd;
}
.blog-aside-cta h3 { color: #4c1d95; }
.blog-aside-cta p { color: #5b21b6; font-size: .88rem; margin: 0 0 10px; }
.blog-aside-cta .btn-primary,
.blog-article-cta .btn-primary {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    color: #fff !important;
    border: 0;
    box-shadow: 0 6px 16px rgba(124, 58, 237, .35);
}
.blog-aside-cta .btn-primary:hover,
.blog-article-cta .btn-primary:hover {
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(124, 58, 237, .45);
    transform: translateY(-2px);
}

/* Article single */
.blog-article-hero { padding: 48px 0 24px; }
.blog-breadcrumb { color: #94a3b8; font-size: .85rem; margin: 0 0 12px; }
.blog-breadcrumb a { color: #6d28d9; text-decoration: none; }
.blog-article-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4.5vw, 2.8rem); line-height: 1.15;
    margin: 0 0 16px;
}
.blog-article-meta { color: #64748b; font-size: .9rem; margin: 0 0 24px; }
.blog-article-cover { margin: 24px 0 0; border-radius: 16px; overflow: hidden; }
.blog-article-cover img { width: 100%; height: auto; display: block; }

.blog-article-body {
    font-size: 1.05rem; line-height: 1.75; color: #1f2937;
    max-width: 760px;
}
.blog-article-body h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem; margin: 36px 0 14px; color: #1e1b4b;
}
.blog-article-body h3 {
    font-size: 1.2rem; margin: 24px 0 10px; color: #312e81;
}
.blog-article-body p { margin: 0 0 16px; }
.blog-article-body ul, .blog-article-body ol { margin: 0 0 16px 22px; }
.blog-article-body li { margin-bottom: 6px; }
.blog-article-body a { color: #6d28d9; text-decoration: underline; }
.blog-article-body blockquote {
    border-left: 4px solid #c4b5fd;
    padding: 8px 18px; color: #4c1d95;
    background: #faf5ff; border-radius: 0 8px 8px 0;
    margin: 18px 0; font-style: italic;
}
.blog-article-body code {
    background: #f1f5f9; padding: 2px 6px; border-radius: 4px;
    font-size: .9em;
}

.blog-article-cta {
    margin: 40px 0 24px; padding: 28px 32px;
    background: linear-gradient(135deg, #faf5ff, #ede9fe);
    border-radius: 18px; border: 1px solid #c4b5fd;
    text-align: center;
}
.blog-article-cta h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem; color: #4c1d95; margin: 0 0 10px;
}
.blog-article-cta p { color: #5b21b6; margin: 0 0 16px; }
.blog-article-back { margin: 36px 0 0; text-align: center; }
.blog-article-back .btn-back {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 22px; border-radius: 999px;
    background: #fff; color: #6d28d9;
    border: 1.5px solid #c4b5fd;
    font-weight: 600; text-decoration: none;
    transition: background .15s, transform .15s, box-shadow .15s;
}
.blog-article-back .btn-back:hover {
    background: linear-gradient(135deg, #faf5ff, #ede9fe);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, .18);
}

/* Breadcrumb SEO-friendly */
.blog-breadcrumb {
    display: flex; flex-wrap: wrap; gap: 6px 0;
    font-size: .85rem; color: #94a3b8; margin: 0 0 14px;
}
.blog-breadcrumb ol {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
}
.blog-breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
.blog-breadcrumb li + li::before { content: "›"; color: #cbd5e1; }
.blog-breadcrumb a { color: #6d28d9; text-decoration: none; }
.blog-breadcrumb a:hover { text-decoration: underline; }
.blog-breadcrumb [aria-current="page"] { color: #475569; font-weight: 500; }

@media (max-width: 880px) {
    .blog-layout { grid-template-columns: 1fr; gap: 32px; }
    .blog-sidebar { position: static; order: 2; }
}
@media (max-width: 540px) {
    .blog-hero { padding: 40px 0 24px; }
    .blog-section { padding: 32px 0 56px; }
    .blog-grid { grid-template-columns: 1fr; gap: 18px; }
    .blog-article-hero { padding: 28px 0 18px; }
    .blog-article-body { font-size: 1rem; }
    .blog-article-cta { padding: 22px 18px; }
}
/* === Aria hero mockup (section aria-promo) === */
.aria-hero-mockup {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 30px 80px rgba(139,92,246,.12), 0 10px 30px rgba(0,0,0,.08);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    max-width: 560px;
    margin: 0 auto;
}
.aria-hero-mockup-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
    color: white;
    font-weight: 600;
    font-size: .95rem;
}
.aria-hero-mockup-logo {
    width: 22px; height: 22px;
    filter: brightness(0) invert(1);
}
.aria-hero-mockup-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.aria-msg-hero {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: .86rem;
    line-height: 1.5;
    position: relative;
}
.aria-msg-hero.user {
    align-self: flex-end;
    background: #0f172a;
    color: #fff;
    border-bottom-right-radius: 4px;
}
.aria-msg-hero.bot {
    align-self: flex-start;
    background: #f1f5f9;
    color: #1e293b;
    border-bottom-left-radius: 4px;
}
.aria-msg-hero p { margin: 0; white-space: pre-wrap; }
.aria-msg-hero code {
    background: rgba(139,92,246,.12);
    padding: 2px 6px;
    border-radius: 6px;
    font-size: .80rem;
    color: #8b5cf6;
    font-weight: 600;
}

/* === Promotion sticky widget — single-card slider (cross-fade, dismissible) === */
.promo-sticky {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 280px;
    height: 92px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 14px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, .14), 0 2px 6px rgba(15, 23, 42, .05);
    z-index: 90;
    font-family: var(--font-sans);
    opacity: 0;
    transform: translateY(20px) scale(.96);
    transition: opacity .35s ease, transform .35s cubic-bezier(.2,.8,.2,1);
    pointer-events: none;
    overflow: visible;
}
.promo-sticky.is-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.promo-sticky[hidden] { display: none; }
.promo-sticky-close {
    position: absolute;
    top: -8px; right: -8px;
    width: 22px; height: 22px;
    border-radius: 50%;
    border: 1px solid rgba(15, 23, 42, .1);
    background: #fff;
    color: #64748b;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(15, 23, 42, .08);
    display: grid;
    place-items: center;
    transition: background .15s, color .15s, transform .15s;
    z-index: 2;
}
.promo-sticky-close:hover { background: #f1f5f9; color: #0f172a; transform: scale(1.1); }
.promo-sticky-badge {
    position: absolute;
    top: -10px; left: 14px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(245, 158, 11, .35);
}
.promo-sticky-slides {
    position: relative;
    width: 100%; height: 100%;
    border-radius: 14px;
    overflow: hidden;
}
/* Cross-fade between slides */
.promo-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    text-decoration: none;
    color: inherit;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity .55s ease, transform .55s ease;
    pointer-events: none;
}
.promo-slide.is-active { opacity: 1; transform: translateX(0); pointer-events: auto; }
.promo-slide-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ede9fe;
    flex-shrink: 0;
}
.promo-slide-avatar-placeholder {
    background: linear-gradient(135deg, #ede9fe, #fce7f3);
    color: #7c3aed;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
}
.promo-slide-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.promo-slide-eyebrow {
    font-size: .58rem;
    font-weight: 700;
    color: #d97706;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.promo-slide-name {
    font-size: .9rem;
    font-weight: 600;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.promo-slide-headline {
    font-size: .72rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.promo-slide-cta {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: #f3e8ff;
    color: #7c3aed;
    display: grid;
    place-items: center;
    font-weight: 700;
    flex-shrink: 0;
    transition: background .2s, transform .2s;
}
.promo-slide:hover .promo-slide-cta { background: #7c3aed; color: #fff; transform: translateX(2px); }
.promo-sticky-dots {
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
}
.promo-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 1px 3px rgba(15, 23, 42, .15);
    cursor: pointer;
    padding: 0;
    transition: background .2s, transform .2s;
}
.promo-dot.is-active { background: #7c3aed; transform: scale(1.3); }

@media (max-width: 768px) {
    /* On laisse de la place au FAB Aria (bas-gauche) : le promo reste à droite,
       largeur auto avec marge gauche pour ne pas chevaucher le FAB. */
    .promo-sticky {
        left: 84px;
        right: 12px;
        width: auto;
        max-width: calc(100vw - 96px);
        bottom: 12px;
    }
}
@media (max-width: 480px) {
    .promo-sticky { height: 76px; left: 80px; right: 10px; }
    .promo-slide { padding: 10px 12px; gap: 8px; }
    .promo-slide-avatar { width: 40px; height: 40px; }
    .promo-slide-name { font-size: .82rem; }
    .promo-slide-headline { font-size: .66rem; }
    .promo-slide-cta { width: 24px; height: 24px; font-size: .8rem; }
    .promo-sticky-badge { font-size: .58rem; padding: 2px 7px; }
}


/* === Featured promotion carousel (homepage) === */
.featured-promo {
    padding: 64px 0 32px;
    background: linear-gradient(180deg, #fff 0%, #faf5ff 100%);
}
.featured-promo[hidden] { display: none; }
.featured-promo-head {
    text-align: center;
    margin-bottom: 36px;
}
.featured-promo-eyebrow {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #d97706;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}
.featured-promo-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin: 0 0 10px;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
}
.featured-promo-lead {
    max-width: 560px;
    margin: 0 auto;
    font-size: .98rem;
}
.featured-promo-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
}
.featured-promo-arrow {
    flex: 0 0 auto;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border, #e2e8f0);
    background: #fff;
    color: var(--gray-700, #374151);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .06);
    transition: transform .15s ease, background .15s ease;
    z-index: 2;
}
.featured-promo-arrow:hover { background: #f8fafc; transform: scale(1.05); }
.featured-promo-viewport {
    flex: 1;
    overflow: hidden;
    margin: 0 -8px;
    padding: 8px;
}
.featured-promo-track {
    display: flex;
    gap: 24px;
    transition: transform .5s cubic-bezier(.2, .8, .2, 1);
    will-change: transform;
}

.featured-card {
    flex: 0 0 320px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #f1e8fe;
    box-shadow: 0 8px 28px rgba(124, 58, 237, .08);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}
.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(124, 58, 237, .14);
}
.featured-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}
.featured-card-photo {
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #ede9fe, #fce7f3);
    display: grid;
    place-items: center;
    overflow: hidden;
    position: relative;
}
.featured-card-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.featured-card-initial {
    font-size: 4rem;
    font-weight: 700;
    color: #7c3aed;
    font-family: 'Playfair Display', Georgia, serif;
}
.featured-card-body { padding: 22px 22px 24px; }
.featured-card-eyebrow {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #d97706;
    margin-bottom: 8px;
}
.featured-card-name {
    margin: 0 0 6px;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    font-family: 'Playfair Display', Georgia, serif;
}
.featured-card-headline {
    margin: 0 0 10px;
    font-size: .95rem;
    color: #4b5563;
    line-height: 1.4;
}
.featured-card-meta { font-size: .8rem; margin: 0 0 14px; }
.featured-card-cta {
    display: inline-block;
    font-size: .9rem;
    font-weight: 600;
    color: #7c3aed;
    transition: color .15s ease;
}
.featured-card-link:hover .featured-card-cta { color: #5b21b6; }

.featured-promo-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}
.featured-promo-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    border: none;
    background: #d8d3eb;
    cursor: pointer;
    padding: 0;
    transition: background .2s, transform .2s;
}
.featured-promo-dot.is-active {
    background: #7c3aed;
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .featured-promo { padding: 40px 0 20px; }
    .featured-card { flex: 0 0 75vw; }
    .featured-promo-arrow { width: 36px; height: 36px; font-size: 1.3rem; }
    .featured-card-body { padding: 16px; }
    .featured-card-name { font-size: 1.1rem; }
    .featured-card-headline { font-size: .88rem; }
}
@media (max-width: 480px) {
    .featured-promo-arrow-prev { left: -4px; }
    .featured-promo-arrow-next { right: -4px; }
    .featured-card { flex: 0 0 85vw; }
}


/* === Aria hero layout (section aria-promo) === */
.aria-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: center;
    margin-top: 20px;
}
.aria-hero-content .section-lead {
    margin-bottom: 20px;
}
.aria-hero-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: grid;
    gap: 8px;
}
.aria-hero-features li {
    font-size: .95rem;
    color: #1e293b;
    line-height: 1.5;
    padding: 6px 10px;
    background: rgba(139,92,246,.06);
    border-radius: 8px;
}
.aria-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 880px) {
    .aria-hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .aria-hero-mockup {
        max-width: 100%;
    }
}


/* === Promotion — page artiste (/mon-espace/promotion) === */
.promo-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 36px;
}
.promo-packs { margin-top: 12px; }
.promo-packs h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.6rem;
    margin: 0 0 22px;
}
.promo-packs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.promo-pack {
    position: relative;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 28px 24px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, .04);
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
}
.promo-pack:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(15, 23, 42, .08); }
.promo-pack-featured {
    border: 2px solid #f59e0b;
    background: linear-gradient(180deg, #fffbeb 0%, #fff 60%);
    box-shadow: 0 12px 28px rgba(245, 158, 11, .15);
}
.promo-pack-ribbon {
    position: absolute;
    top: -12px;
    right: 18px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.promo-pack h3 {
    margin: 4px 0 10px;
    font-size: 1.15rem;
    font-family: 'Playfair Display', Georgia, serif;
    color: #1f2937;
}
.promo-pack-price {
    font-size: 1rem;
    margin: 6px 0 16px;
    color: #1f2937;
    line-height: 1;
}
.promo-pack-price .amount {
    font-size: 2.6rem;
    font-weight: 800;
    color: #1f2937;
    font-family: 'Playfair Display', Georgia, serif;
    letter-spacing: -0.02em;
}
.promo-pack-price .currency {
    font-size: 1.4rem;
    margin-left: 2px;
    font-weight: 600;
}
.promo-pack-features {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    flex: 1;
}
.promo-pack-features li {
    padding: 7px 0;
    font-size: .92rem;
    color: #374151;
    border-bottom: 1px dashed #f1f5f9;
}
.promo-pack-features li:last-child { border-bottom: none; }

@media (max-width: 980px) {
    .promo-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .promo-packs-grid { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
    .promo-stats-grid { grid-template-columns: 1fr; }
}


/* === Toggle compact (admin tables) === */
.toggle-sm {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    margin: 0;
}
.toggle-sm input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-sm .toggle-slider {
    position: relative;
    width: 36px; height: 20px;
    background: #cbd5e1;
    border-radius: 999px;
    transition: background .2s ease;
}
.toggle-sm .toggle-slider::before {
    content: '';
    position: absolute;
    top: 2px; left: 2px;
    width: 16px; height: 16px;
    background: #fff;
    border-radius: 50%;
    transition: transform .2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.toggle-sm input:checked + .toggle-slider { background: #f59e0b; }
.toggle-sm input:checked + .toggle-slider::before { transform: translateX(16px); }


/* === Tables responsive (admin + dashboards) === */
.table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.table-scroll table { min-width: 720px; }


/* === Mobile responsive : header + admin sidebar === */
@media (max-width: 768px) {
    /* Hide footer-nav columns on small screens, stack them */
    .footer-inner { grid-template-columns: 1fr; gap: 24px; padding-bottom: 32px; }
    .footer-nav { grid-template-columns: 1fr 1fr; gap: 24px; }

    /* KPI grids responsive */
    .kpi-grid-3, .kpi-grid-4 { grid-template-columns: 1fr 1fr !important; gap: 12px; }

    /* Admin sidebar : full-width drawer behind backdrop on mobile */
    .admin-body { display: block; }
    .admin-sidebar {
        position: fixed;
        top: 0; left: 0;
        width: 80vw; max-width: 280px;
        height: 100vh;
        transform: translateX(-100%);
        transition: transform .25s ease;
        z-index: 1000;
        overflow-y: auto;
        box-shadow: 4px 0 24px rgba(0,0,0,.12);
    }
    .admin-sidebar.is-open { transform: translateX(0); }
    .admin-main { padding: 16px !important; }
    .admin-main-full { padding: 16px !important; }
    .admin-mobile-toggle {
        position: fixed;
        top: 12px; left: 12px;
        z-index: 1001;
        width: 40px; height: 40px;
        background: #1f2937;
        color: #fff;
        border: none;
        border-radius: 8px;
        font-size: 1.4rem;
        cursor: pointer;
    }
    .admin-header h1 { font-size: 1.5rem; }

    /* Form grids stack */
    .form-grid { grid-template-columns: 1fr !important; }

    /* Header nav on mobile : drawer style for nav items */
    .nav-list { gap: 0; }
    .nav-list li > a:not(.btn),
    .nav-dropdown details summary,
    .lang-dropdown details summary {
        font-size: .92rem;
        padding: 12px 14px;
    }
    .signup-modal-grid { grid-template-columns: 1fr !important; }
    .auth { padding: 40px 0; }
    .auth-card { padding: 28px 22px; }

    /* Sticky CTA: smaller text */
    .sticky-cta { font-size: .85rem; padding: 10px 14px; }
}

@media (max-width: 480px) {
    .featured-promo-title { font-size: 1.5rem; }
    .promo-pack-price .amount { font-size: 2.2rem; }
    .footer-nav { grid-template-columns: 1fr; }
}


/* === Patches CSS — classes utilisées sans définition (post-audit) === */

/* Badges marketplace (vendeur) */
.mkt-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .75rem;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(124, 58, 237, .1);
    color: #6d28d9;
    font-weight: 600;
}
.mkt-badge-gallery { background: rgba(234, 88, 12, .12); color: #c2410c; }

/* Badge "à venir" sur la home (templates premium pas encore livrés) */
.is-coming {
    background: linear-gradient(135deg, #fde68a, #fcd34d);
    color: #92400e;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* Badge status "pending" (campagne promotion en attente paiement) */
.badge-status-pending {
    background: #fef3c7;
    color: #92400e;
    border-radius: 999px;
    padding: 3px 10px;
    font-size: .72rem;
    font-weight: 600;
}

/* Bandeau "risque" (free_portfolio + galerie/landing) */
.pg-risk-body {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    padding: 28px 0 4px;
}
.pg-risk-body p { margin: 0; font-size: .95rem; line-height: 1.55; color: var(--gray-700); }
@media (max-width: 720px) {
    .pg-risk-body { grid-template-columns: 1fr; }
}

/* Galerie premium "prestige" — wrappers minimaux */
.tpl-prestige .pr-hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 56px;
    align-items: center;
    padding: 80px 0;
}
.tpl-prestige .pr-portfolio { padding: 0 0 80px; }
.tpl-prestige .pr-works-section { padding: 60px 0; }
@media (max-width: 880px) {
    .tpl-prestige .pr-hero-inner { grid-template-columns: 1fr; padding: 48px 0; gap: 32px; }
}

/* Showcase wrapper (fallback minimal — la majorité du look est inline) */
.sc-portfolio { display: block; }

/* Editor sticky cta — petit X close button (header) */
.sticky-cta-close {
    background: transparent;
    border: none;
    color: inherit;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0 8px;
    opacity: .6;
    transition: opacity .15s;
}
.sticky-cta-close:hover { opacity: 1; }

/* Lang label dans le menu langue */
.lang-label {
    flex: 1;
    text-align: left;
    font-size: .9rem;
    color: var(--gray-700);
}

/* Admin blog form — variante AI */
.admin-panel-ai summary { cursor: pointer; font-weight: 600; padding: 4px 0; }
.admin-panel-ai[open] { padding-bottom: 18px; }

/* Form-field-photo (profil artiste — uploader photo de profil) */
.form-field-photo {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 18px;
}
@media (max-width: 540px) {
    .form-field-photo { flex-direction: column; align-items: flex-start; }
}



/* === Cookie consent banner (RGPD) === */
.cookie-banner {
    position: fixed;
    left: 16px;
    bottom: 16px;
    right: 16px;
    z-index: 200;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, .15);
    padding: 18px 22px;
    max-width: 720px;
    margin: 0 auto;
    animation: cookie-banner-pop .3s cubic-bezier(.2,.8,.2,1);
}
.cookie-banner[hidden] { display: none; }
@keyframes cookie-banner-pop {
    from { transform: translateY(20px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.cookie-banner-text { flex: 1; min-width: 220px; }
.cookie-banner-text strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 4px;
    color: #1f2937;
}
.cookie-banner-text p {
    margin: 0;
    font-size: .88rem;
    color: #4b5563;
    line-height: 1.45;
}
.cookie-banner-text a { color: #7c3aed; text-decoration: underline; }
.cookie-banner-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    flex-wrap: wrap;
}
.cookie-banner-prefs {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.cookie-banner-prefs[hidden] { display: none; }
.cookie-pref {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .88rem;
    color: #374151;
    line-height: 1.45;
}
.cookie-pref input { margin-top: 4px; flex-shrink: 0; }
.cookie-pref strong { color: #1f2937; }

@media (max-width: 540px) {
    .cookie-banner { left: 8px; right: 8px; bottom: 8px; padding: 14px 16px; border-radius: 12px; }
    .cookie-banner-actions { width: 100%; justify-content: stretch; }
    .cookie-banner-actions .btn { flex: 1; }
}

/* Sticky CTA emoji (avant le texte) */
.sticky-cta-emoji {
    margin-right: 6px;
    font-size: 1.05em;
    vertical-align: middle;
}


/* === Lien Aria dans la nav (mis en valeur) === */
.nav-aria-link {
    background: linear-gradient(135deg, rgba(139, 92, 246, .12), rgba(236, 72, 153, .12));
    border: 1px solid rgba(139, 92, 246, .25);
    border-radius: 999px;
    padding: 6px 14px !important;
    color: #6d28d9 !important;
    font-weight: 600 !important;
    transition: all .18s ease;
}
.nav-aria-link:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, .22), rgba(236, 72, 153, .22));
    color: #5b21b6 !important;
    transform: translateY(-1px);
}
.nav-aria-icon {
    display: inline-block;
    margin-right: 4px;
    background: linear-gradient(135deg, #f59e0b, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nav-aria-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 6px;
    display: inline-block;
}
.nav-aria-link {
    display: inline-flex;
    align-items: center;
    gap: 0;
}


/* === Promotion artiste — page dashboard améliorée === */

/* Pill "Actif" dans le header */
.promo-active-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    border: 1px solid #34d399;
    border-radius: 999px;
    font-size: .85rem;
    color: #065f46;
}
.promo-active-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, .25);
    animation: promo-pulse 1.6s ease-in-out infinite;
}
@keyframes promo-pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(16, 185, 129, .25); }
    50%      { box-shadow: 0 0 0 6px rgba(16, 185, 129, .12); }
}

/* Carte "campagne en cours" */
.promo-active-card {
    background: linear-gradient(135deg, #fff 0%, #f0fdf4 100%);
    border: 2px solid #34d399;
    border-radius: 18px;
    padding: 28px;
    margin-bottom: 36px;
    box-shadow: 0 8px 24px rgba(16, 185, 129, .12);
}
.promo-active-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.promo-active-card-head .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #065f46;
    font-weight: 700;
}
.promo-active-card-head h2 {
    margin: 6px 0 6px;
    font-size: 1.6rem;
    font-family: 'Playfair Display', Georgia, serif;
    color: #064e3b;
}
.promo-active-card-meta {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}
.promo-progress {
    margin-bottom: 22px;
}
.promo-progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(16, 185, 129, .15);
    border-radius: 999px;
    overflow: hidden;
}
.promo-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #059669);
    border-radius: 999px;
    transition: width .5s ease;
    box-shadow: 0 2px 8px rgba(16, 185, 129, .3);
}
.promo-progress-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    font-size: .9rem;
    color: #064e3b;
}
.promo-active-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 22px;
}
.promo-active-stat {
    background: #fff;
    border: 1px solid #d1fae5;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}
.promo-active-stat .kpi-label { color: #047857; font-size: .75rem; }
.promo-active-stat .kpi-value { color: #064e3b; font-size: 1.5rem; margin: 6px 0 0; }
.promo-active-locked {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(16, 185, 129, .08);
    border-radius: 10px;
    color: #065f46;
    font-size: .9rem;
}

/* Header packs */
.promo-packs-head {
    text-align: center;
    margin-bottom: 28px;
}
.promo-packs-head h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.8rem;
    margin: 0 0 8px;
}
.promo-packs-head p { max-width: 540px; margin: 0 auto; }

/* Icône circulaire des packs */
.promo-pack-icon {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 44px; height: 44px;
    background: linear-gradient(135deg, #f3e8ff, #fce7f3);
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.3rem;
}
.promo-pack-featured .promo-pack-icon {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
}

/* Login link icon */
.nav-login-link {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 999px;
    padding: 6px 12px !important;
    transition: all .15s ease;
}
.nav-login-link:hover {
    background: var(--purple-50, #faf5ff);
    border-color: var(--purple-200, #ddd6fe);
    color: var(--purple-700, #6d28d9) !important;
}
.nav-login-icon { display: inline-flex; align-items: center; }
.nav-login-icon svg { display: block; }

@media (max-width: 980px) {
    .promo-active-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
    .promo-active-card { padding: 20px; }
    .promo-active-card-head { flex-direction: column; }
    .promo-active-card-meta { width: 100%; justify-content: stretch; }
    .promo-active-card-meta .btn { flex: 1; }
    .promo-pack-icon { width: 36px; height: 36px; font-size: 1rem; top: 18px; right: 18px; }
}


/* === Promotion — historique en cards (à la place de la table) === */
.promo-history-head {
    text-align: center;
    margin-bottom: 28px;
}
.promo-history-head h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.6rem;
    margin: 0 0 6px;
    color: #1f2937;
}
.promo-history-head p { max-width: 480px; margin: 0 auto; }

.promo-history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 18px;
}

.promo-history-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .04);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.promo-history-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(15, 23, 42, .08);
}
.promo-history-card.is-active {
    border-color: #34d399;
    background: linear-gradient(180deg, #fff 0%, #f0fdf4 100%);
    box-shadow: 0 4px 18px rgba(16, 185, 129, .12);
}
.promo-history-card.is-cancelled,
.promo-history-card.is-completed {
    opacity: .92;
}
.promo-history-card.is-cancelled { background: #fafafa; border-color: #e5e7eb; }

.promo-history-card-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.promo-history-icon {
    flex-shrink: 0;
    width: 44px; height: 44px;
    background: linear-gradient(135deg, #f3e8ff, #fce7f3);
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.3rem;
}
.promo-history-card.is-active .promo-history-icon {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
}
.promo-history-card.is-cancelled .promo-history-icon {
    background: #f3f4f6;
    filter: grayscale(.7);
}

.promo-history-title {
    flex: 1;
    min-width: 0;
}
.promo-history-title h3 {
    margin: 0 0 4px;
    font-size: 1.05rem;
    color: #1f2937;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
}
.promo-history-title .muted { margin: 0; color: #64748b; }
.promo-history-title strong { color: #1f2937; }

.promo-bypass-tag {
    display: inline-block;
    background: #fef3c7;
    color: #92400e;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 600;
}

.promo-history-status { flex-shrink: 0; }
.promo-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 600;
    white-space: nowrap;
}
.promo-status-active     { background: #d1fae5; color: #065f46; }
.promo-status-pending    { background: #fef3c7; color: #92400e; }
.promo-status-completed  { background: #dbeafe; color: #1e40af; }
.promo-status-cancelled  { background: #f3f4f6; color: #6b7280; }

.promo-history-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 14px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}
.promo-history-stat {
    display: flex;
    align-items: center;
    gap: 8px;
}
.promo-history-stat-icon {
    font-size: 1.1rem;
    opacity: .7;
}
.promo-history-stat-value {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.1;
}
.promo-history-stat-label {
    margin: 2px 0 0;
    font-size: .68rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.promo-history-card-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.promo-history-dates {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

@media (max-width: 600px) {
    .promo-history-grid { grid-template-columns: 1fr; }
    .promo-history-stats { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
    .promo-history-stat { flex-direction: column; align-items: flex-start; gap: 2px; }
    .promo-history-card-foot { flex-direction: column; align-items: stretch; }
    .promo-history-card-foot form { width: 100%; }
    .promo-history-card-foot .btn { width: 100%; }
}


/* === Live stats — flash animation + indicator === */
@keyframes live-flash {
    0%   { background-color: rgba(34, 197, 94, .25); transform: scale(1.04); }
    50%  { background-color: rgba(34, 197, 94, .12); }
    100% { background-color: transparent; transform: scale(1); }
}
.live-flash {
    animation: live-flash 1s ease-out;
    border-radius: 6px;
    padding-left: 4px; padding-right: 4px;
    margin-left: -4px; margin-right: -4px;
}

.promo-live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 18px 0 0;
    font-size: .82rem;
    color: #4b5563;
}
.promo-live-dot {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, .6);
    animation: live-pulse 1.5s ease-in-out infinite;
}
@keyframes live-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, .6); }
    70%  { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}


/* === Aria FAB (Floating Action Button) — design raffiné === */
.aria-fab {
    position: fixed;
    left: 20px;
    right: auto;
    bottom: 20px;
    z-index: 95;
    width: auto;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
    background: rgba(255, 255, 255, .96);
    color: #1f2937 !important;
    border: 1px solid rgba(15, 23, 42, .06);
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .08), 0 2px 6px rgba(15, 23, 42, .04);
    transition: all .25s cubic-bezier(.2, .8, .2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.aria-fab::after { display: none; }
.aria-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(124, 58, 237, .18), 0 4px 12px rgba(15, 23, 42, .08);
    border-color: rgba(124, 58, 237, .25);
    color: #1f2937 !important;
}
.aria-fab:active { transform: translateY(0); }

.aria-fab-avatar {
    position: relative;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    color: #1f2937;
    display: grid;
    place-items: center;
    box-shadow: 0 4px 10px rgba(59, 130, 246, .25);
    border: 1px solid #dbeafe;
    overflow: hidden;
}
.aria-fab-avatar svg { width: 100%; height: 100%; }
.aria-fab-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.aria-fab-status {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: #10b981;
    border: 2px solid #fff;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, .55);
    animation: aria-fab-status-pulse 2s ease-out infinite;
}
@keyframes aria-fab-status-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, .55); }
    70%  { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.aria-fab-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.aria-fab-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    font-size: 1rem;
    color: #0f172a;
    letter-spacing: .01em;
}
.aria-fab-sub {
    font-size: .68rem;
    color: #64748b;
    font-weight: 500;
    letter-spacing: .02em;
}

/* Mobile : compact, rond, sans texte */
@media (max-width: 600px) {
    .aria-fab {
        padding: 0;
        gap: 0;
        bottom: 14px;
        left: 12px;
        border-radius: 50%;
    }
    .aria-fab-avatar { width: 56px; height: 56px; }
    .aria-fab-text { display: none; }
}
@media (max-width: 380px) {
    .aria-fab-avatar { width: 50px; height: 50px; }
}

/* Sur les pages dashboard artiste/galerie/admin, on cache le FAB
   (Aria est déjà accessible via la nav du dashboard) */
.page-editor .aria-fab,
.admin-body .aria-fab {
    display: none;
}


/* === Placement tag (Widget vs Home vs Both) === */
.promo-placement-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 600;
    margin: 4px 0;
    white-space: nowrap;
}
.promo-placement-both {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    border: 1px solid #fcd34d;
}
.promo-placement-home {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #93c5fd;
}
.promo-placement-widget {
    background: #f3e8ff;
    color: #6d28d9;
    border: 1px solid #c4b5fd;
}

/* === Détail des stats par emplacement (home / widget) === */
.promo-placement-breakdown {
    margin-top: 24px;
    padding: 20px;
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 16px;
    background: linear-gradient(135deg, #f9fafb, #ffffff);
}
.promo-placement-breakdown-title {
    margin: 0 0 14px;
    font-size: .92rem;
    font-weight: 700;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.promo-placement-breakdown-grid {
    display: grid;
    gap: 10px;
}
.promo-placement-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    transition: border-color .15s ease, transform .15s ease;
}
.promo-placement-row:hover {
    border-color: #c4b5fd;
}
.promo-placement-row[data-placement="home"] {
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 70%);
    border-color: #bfdbfe;
}
.promo-placement-row[data-placement="widget"] {
    background: linear-gradient(135deg, #f3e8ff 0%, #ffffff 70%);
    border-color: #ddd6fe;
}
.promo-placement-row-label {
    font-weight: 700;
    font-size: .95rem;
    color: #111827;
    min-width: 110px;
}
.promo-placement-row-stats {
    font-size: .88rem;
    color: #4b5563;
    text-align: right;
}
.promo-placement-row-stats strong {
    color: #111827;
    font-variant-numeric: tabular-nums;
}
@media (max-width: 540px) {
    .promo-placement-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .promo-placement-row-stats {
        text-align: left;
    }
}

/* =========================================================================
   NAVBAR — harmonisation des tailles (CTA compact + boutons même hauteur)
   ========================================================================= */
@media (min-width: 880px) {
    /* Hauteur uniforme pour TOUS les éléments interactifs de la nav */
    .nav-list > li > a,
    .nav-list > li > details > summary,
    .nav-list > li > form > button,
    .nav-list .nav-aria-link,
    .nav-list .nav-cta-secondary,
    .nav-list .nav-login-link,
    .nav-list .nav-icon-btn,
    .nav-list .lang-dropdown details summary,
    .nav-list .btn,
    .nav-list .btn.nav-cta-compact {
        height: 34px;
        min-height: 34px;
        box-sizing: border-box;
    }

    /* CTA "Créer mon portfolio" compact pour matcher la nav (au lieu du
       gros .btn 13px 24px / .98rem). Garde le gradient + l'identité visuelle. */
    .nav-list .btn.nav-cta-compact {
        padding: 0 14px;
        font-size: .85rem;
        font-weight: 600;
        line-height: 1;
        border-radius: 8px;
        gap: 6px;
    }
    .nav-list .btn.nav-cta-compact:hover {
        transform: translateY(-1px);
    }

    /* Aligner verticalement et padding cohérent partout */
    .nav-list > li > a:not(.btn),
    .nav-list > li > details > summary {
        padding: 0 12px;
        display: inline-flex;
        align-items: center;
        line-height: 1;
    }

    /* Lang switcher : même hauteur, padding côté texte */
    .nav-list .lang-dropdown details summary {
        padding: 0 10px;
    }

    /* Icon btn (logout) déjà à 34px → on assure align */
    .nav-list .nav-icon-btn { width: 34px; padding: 0; }
}

/* Mobile : on garde le comportement existant (boutons full-width dans le menu) */
@media (max-width: 879px) {
    .nav-list .btn.nav-cta-compact {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================================================
   SIGNUP MODAL — Slider 3 étapes + colonne droite enrichie
   ========================================================================= */

/* Stepper visuel */
.signup-stepper {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 18px 0 22px;
}
.signup-step-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    transition: transform .25s ease;
}
.signup-step-dot > span {
    width: 28px; height: 28px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--gray-100, #f1f5f9);
    color: var(--gray-500, #64748b);
    font-weight: 700;
    font-size: .82rem;
    border: 2px solid transparent;
    transition: all .25s ease;
}
.signup-step-dot > label {
    font-size: .72rem;
    font-weight: 600;
    color: var(--gray-500, #64748b);
    letter-spacing: .02em;
    text-transform: uppercase;
}
.signup-step-dot.is-active > span {
    background: var(--gradient-deep);
    color: #fff;
    border-color: rgba(139, 92, 246, .25);
    box-shadow: 0 4px 12px rgba(124, 58, 237, .35);
    transform: scale(1.08);
}
.signup-step-dot.is-active > label {
    color: var(--purple-700, #6d28d9);
}
.signup-step-dot.is-done > span {
    background: var(--purple-100, #ede9fe);
    color: var(--purple-700, #6d28d9);
}
.signup-step-bar {
    flex: 1 1 auto;
    height: 2px;
    background: var(--gray-200, #e2e8f0);
    border-radius: 2px;
    transition: background .25s ease;
}
.signup-step-bar.is-done { background: var(--purple-400, #a78bfa); }

/* Slider conteneur */
.signup-slider-form {
    display: flex;
    flex-direction: column;
}
.signup-slider {
    position: relative;
    overflow: hidden;
}
.signup-slide {
    display: none;
    flex-direction: column;
    gap: 14px;
    animation: signup-slide-in .35s cubic-bezier(.16, 1, .3, 1);
}
.signup-slide.is-active { display: flex; }
@keyframes signup-slide-in {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
}
.signup-slide-lead {
    color: var(--text-muted, #64748b);
    font-size: .92rem;
    line-height: 1.55;
    margin: 0 0 4px;
}
.signup-slide-error {
    color: var(--danger-600, #dc2626);
    font-size: .85rem;
    background: var(--danger-50, #fef2f2);
    border: 1px solid var(--danger-200, #fecaca);
    padding: 8px 12px;
    border-radius: 8px;
    margin: 4px 0 0;
}
.signup-slide-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}
.signup-slide-nav .btn-ghost { font-weight: 500; }

/* Dropzone */
.signup-dropzone {
    display: block;
    border: 2px dashed var(--purple-300, #c4b5fd);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(245, 243, 255, .55), rgba(255, 255, 255, .8));
    padding: 28px 18px;
    cursor: pointer;
    text-align: center;
    transition: all .2s ease;
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.signup-dropzone:hover,
.signup-dropzone.is-dragover {
    border-color: var(--purple-500, #8b5cf6);
    background: linear-gradient(180deg, rgba(237, 233, 254, .8), rgba(255, 255, 255, .95));
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, .12);
}
.signup-dropzone-icon {
    color: var(--purple-500, #8b5cf6);
    margin: 0 auto 10px;
    display: inline-flex;
}
.signup-dropzone-title {
    font-weight: 600;
    color: var(--gray-800, #1f2937);
    margin: 0 0 4px;
    font-size: .98rem;
}
.signup-dropzone-hint {
    color: var(--text-muted, #64748b);
    font-size: .82rem;
    margin: 0;
}
.signup-dropzone-preview {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.signup-dropzone-preview img {
    max-height: 220px;
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
    object-fit: contain;
}
.signup-dropzone-change {
    position: absolute;
    bottom: 8px; right: 8px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid var(--border, #e2e8f0);
    color: var(--gray-800, #1f2937);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s ease;
}
.signup-dropzone-change:hover {
    background: #fff;
    transform: translateY(-1px);
}

/* Champ titre œuvre (apparaît après upload) */
.signup-artwork-title-field { animation: signup-slide-in .25s ease; }

/* Password meter + toggle */
.signup-password-wrap {
    position: relative;
}
.signup-password-wrap input {
    padding-right: 44px;
}
.signup-password-toggle {
    position: absolute;
    right: 8px; top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    padding: 6px;
    cursor: pointer;
    color: var(--gray-500, #64748b);
    border-radius: 6px;
    transition: color .15s ease, background .15s ease;
}
.signup-password-toggle:hover { color: var(--purple-700, #6d28d9); background: var(--purple-50, #faf5ff); }
.signup-password-meter {
    height: 4px;
    background: var(--gray-200, #e2e8f0);
    border-radius: 999px;
    overflow: hidden;
    margin-top: 8px;
}
.signup-password-meter > span {
    display: block;
    height: 100%;
    width: 0;
    background: var(--danger-500, #ef4444);
    border-radius: 999px;
    transition: width .25s ease, background .25s ease;
}
.signup-password-meter > span[data-strength="2"] { background: #f59e0b; }
.signup-password-meter > span[data-strength="3"] { background: #84cc16; }
.signup-password-meter > span[data-strength="4"] { background: #16a34a; }
.signup-password-hint {
    font-size: .78rem;
    color: var(--text-muted, #64748b);
    margin: 6px 0 0;
}

/* Trust pills */
.signup-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 4px 0 0;
}
.signup-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: var(--gray-50, #f8fafc);
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--gray-700, #374151);
}

/* === COLONNE DROITE — version enrichie === */
.signup-modal-side {
    position: relative;
    overflow: hidden;
    padding: 0;
}
.signup-side-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(50% 30% at 80% 10%, rgba(255, 255, 255, .25), transparent 60%),
        radial-gradient(60% 40% at 20% 90%, rgba(236, 72, 153, .35), transparent 65%);
    pointer-events: none;
    z-index: 0;
}
.signup-side-inner {
    position: relative;
    z-index: 1;
    padding: clamp(28px, 4vw, 44px);
    display: flex;
    flex-direction: column;
    gap: 22px;
    height: 100%;
    color: #fff;
}
.signup-side-eyebrow {
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .8);
    margin: 0;
}
.signup-modal-side h3 {
    font-family: var(--font-display, 'Playfair Display', serif);
    font-size: clamp(1.5rem, 2.5vw, 1.85rem);
    line-height: 1.15;
    color: #fff;
    margin: 0;
    font-weight: 600;
}
.signup-side-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 4px 0;
}
.signup-stat {
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 12px;
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
}
.signup-stat strong {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(120deg, #fff 0%, #fef3c7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.1;
}
.signup-stat span {
    font-size: .72rem;
    color: rgba(255, 255, 255, .85);
    line-height: 1.3;
}
.signup-side-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.signup-side-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, .92);
    font-size: .9rem;
    line-height: 1.4;
}
.signup-side-bullets .b-check {
    flex-shrink: 0;
    width: 22px; height: 22px;
    display: grid; place-items: center;
    background: rgba(255, 255, 255, .18);
    border-radius: 50%;
    font-size: .72rem;
    font-weight: 700;
    color: #fff;
}
.signup-side-quote {
    margin: 0;
    padding: 16px 18px;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(8px);
    border-left: 3px solid rgba(255, 255, 255, .4);
    border-radius: 0 12px 12px 0;
}
.signup-side-quote blockquote {
    margin: 0;
    font-size: .9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, .95);
    font-style: italic;
}
.signup-side-quote figcaption {
    margin-top: 8px;
    font-size: .78rem;
    color: rgba(255, 255, 255, .75);
    font-weight: 500;
}

/* Mobile : la side passe en haut, plus compacte */
@media (max-width: 879px) {
    .signup-side-inner { padding: 24px 22px; gap: 16px; }
    .signup-side-stats { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .signup-stat { padding: 10px 6px; }
    .signup-stat strong { font-size: 1.05rem; }
    .signup-side-quote { display: none; }
    .signup-side-bullets li { font-size: .85rem; }
    .signup-stepper { margin: 12px 0 16px; }
    .signup-step-dot > label { display: none; }
}
