/**
 * Hero UI mockup — colonne droite (container queries + scale)
 * Généré depuis index-copie.html
 */

/* Grille hero : colonnes égales — voir responsive.css @media (min-width: 1280px) */

/* ===== MISSING VARS (not in site design system) ===== */
.hero-mockup-scene {
    --green-500: #3cc88f;
    --green-50: #e8f8f0;
}

/* ===== WRAPPER & SCALING ===== */
/* Pas de margin-left négatif : évite le chevauchement sur la colonne texte */
.hero-visual:has(.hero-mockup-wrapper) {
    overflow: visible;
}

.hero-mockup-wrapper {
    width: 130%;
    margin-left: 0;
    margin-top: -4%;
    aspect-ratio: 1440 / 860;
    position: relative;
    overflow: visible;
    container-type: inline-size;
}
.hero-mockup-scene {
    position: absolute;
    top: 0;
    left: 0;
    width: 1440px;
    height: 860px;
    transform-origin: top left;
    transform: scale(calc(100cqw / 1440px));
    pointer-events: none;
    background: transparent;
}
.hero-mockup-scene * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ===== BROWSER CHROME ===== */
.hero-mockup-scene .chrome {
    display: flex;
    align-items: center;
    padding: 0 14px;
    height: 36px;
    background: #f8f8f8;
    border-bottom: 1px solid #ebebeb;
    border-radius: 14px 14px 0 0;
    gap: 8px;
    flex-shrink: 0;
}
.hero-mockup-scene .chrome-dots {
    display: flex;
    gap: 5px;
}
.hero-mockup-scene .chrome-dots i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: block;
    font-style: normal;
}
.hero-mockup-scene .chrome-dots .r {
    background: #ff5f57;
}
.hero-mockup-scene .chrome-dots .y {
    background: #ffbd2e;
}
.hero-mockup-scene .chrome-dots .g {
    background: #28c840;
}
.hero-mockup-scene .chrome-url {
    margin-left: 16px;
    height: 22px;
    padding: 0 10px;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font: 400 10px/1 var(--font-mono);
    color: var(--gray-500);
}
.hero-mockup-scene .chrome-url .lock {
    color: #28c840;
    font-size: 9px;
}

/* ===== PANEL (shared) ===== */
.hero-mockup-scene .panel {
    position: absolute;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* ===== PANEL MAIN (Kanban) ===== */
.hero-mockup-scene .panel-main {
    width: 920px;
    height: 580px;
    z-index: 1;
    left: 50%;
    bottom: 120px;
    transform: translateX(-50%);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.03),
        0 4px 8px rgba(0, 0, 0, 0.02),
        0 12px 28px rgba(0, 0, 0, 0.05),
        0 40px 80px -12px rgba(0, 0, 0, 0.08);
}

/* Huntool nav */
.hero-mockup-scene .ht-nav {
    display: flex;
    align-items: center;
    padding: 0 18px;
    height: 46px;
    border-bottom: 1px solid #f0f0f0;
    gap: 20px;
}
.hero-mockup-scene .ht-logo {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.hero-mockup-scene .ht-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.hero-mockup-scene .ht-nav-links {
    display: flex;
    gap: 22px;
    margin-left: 8px;
}
.hero-mockup-scene .ht-nav-links a {
    font: 500 12.5px/1 var(--font-body);
    color: var(--gray-600);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 0;
}
.hero-mockup-scene .ht-nav-links a.active {
    color: var(--gray-950);
    font-weight: 600;
}
.hero-mockup-scene .ht-nav-links .notif {
    background: var(--green-500);
    color: white;
    font-size: 8px;
    font-weight: 700;
    border-radius: 99px;
    padding: 1px 5px;
    min-width: 16px;
    text-align: center;
}
.hero-mockup-scene .ht-nav-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}
.hero-mockup-scene .ht-btn-create {
    background: var(--orange-500);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 7px 14px;
    font: 600 11px/1 var(--font-body);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Toolbar */
.hero-mockup-scene .ht-toolbar {
    display: flex;
    align-items: center;
    padding: 10px 18px;
    gap: 10px;
    border-bottom: 1px solid #f5f5f5;
}
.hero-mockup-scene .ht-view-icons {
    display: flex;
    gap: 2px;
}
.hero-mockup-scene .ht-view-icons span {
    width: 30px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
    color: var(--gray-400);
    font-size: 14px;
}
.hero-mockup-scene .ht-view-icons span.active {
    background: var(--green-50);
    color: var(--green-500);
}
.hero-mockup-scene .ht-search {
    flex: 1;
    height: 30px;
    background: #f8f8f8;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 0 10px;
    font: 400 11px/1 var(--font-body);
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 6px;
}
.hero-mockup-scene .ht-filter-btn {
    height: 30px;
    padding: 0 10px;
    background: white;
    border: 1px solid #eee;
    border-radius: 6px;
    font: 500 11px/1 var(--font-body);
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}
.hero-mockup-scene .ht-new-process {
    height: 30px;
    padding: 0 12px;
    background: var(--orange-500);
    color: white;
    border: none;
    border-radius: 6px;
    font: 600 11px/1 var(--font-body);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Kanban grid */
.hero-mockup-scene .kanban {
    flex: 1;
    overflow: hidden;
    padding: 14px 18px;
    display: flex;
    gap: 12px;
    align-items: stretch;
    position: relative;
}
.hero-mockup-scene .kanban-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}
.hero-mockup-scene .kanban-col-header {
    font: 500 10px/1 var(--font-body);
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.hero-mockup-scene .kanban-col-header .col-count {
    background: var(--gray-200);
    border-radius: 99px;
    padding: 2px 6px;
    font-size: 9px;
    font-weight: 600;
    color: var(--gray-600);
}

/* Kanban card */
.hero-mockup-scene .k-card {
    background: white;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.hero-mockup-scene .k-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.hero-mockup-scene .k-card-owner {
    font: 400 8px/1 var(--font-body);
    color: var(--gray-500);
}
.hero-mockup-scene .k-card-title {
    font: 600 11px/1.3 var(--font-display);
    color: var(--gray-900);
}
.hero-mockup-scene .k-card-dots {
    color: var(--green-500);
    font-size: 14px;
    line-height: 1;
}
.hero-mockup-scene .k-card-avatars {
    display: flex;
}
.hero-mockup-scene .k-card-avatars .av {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font: 600 9px/1 var(--font-body);
    color: white;
    overflow: hidden;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
}
.hero-mockup-scene .k-card-avatars .av:first-child {
    margin-left: 0;
}
.hero-mockup-scene .k-card-avatars .av-more {
    background: var(--gray-300);
    color: var(--gray-700);
    font-size: 8px;
}
.hero-mockup-scene .k-card-desc {
    font: 400 10px/1 var(--font-body);
    color: var(--gray-400);
}
.hero-mockup-scene .k-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}
.hero-mockup-scene .k-card-stats {
    display: flex;
    gap: 10px;
}
.hero-mockup-scene .k-card-stat {
    display: flex;
    align-items: center;
    gap: 3px;
    font: 400 10px/1 var(--font-body);
    color: var(--gray-500);
}
.hero-mockup-scene .k-card-stat svg {
    width: 12px;
    height: 12px;
    color: var(--gray-400);
}
.hero-mockup-scene .k-card-link {
    font: 500 8.5px/1 var(--font-body);
    color: var(--green-500);
    text-decoration: none;
    cursor: pointer;
    padding: 3px 7px;
    border: 1px solid var(--green-500);
    border-radius: 5px;
}

/* Special card */
.hero-mockup-scene .k-card-all {
    background: var(--green-50);
    border-color: rgba(60, 200, 143, 0.15);
    padding: 14px;
    gap: 8px;
}
.hero-mockup-scene .k-card-all .k-card-title {
    font-size: 13px;
    color: var(--gray-900);
}
.hero-mockup-scene .k-card-all .k-card-avatars .av {
    width: 32px;
    height: 32px;
    border-width: 2.5px;
}

/* Avatar colors */
.hero-mockup-scene .av-1 {
    background: linear-gradient(135deg, #4a90d9, #357abd);
}
.hero-mockup-scene .av-2 {
    background: linear-gradient(135deg, #e67e22, #d35400);
}
.hero-mockup-scene .av-3 {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}
.hero-mockup-scene .av-4 {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
}
.hero-mockup-scene .av-5 {
    background: linear-gradient(135deg, #34495e, #2c3e50);
}
.hero-mockup-scene .av-6 {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}
.hero-mockup-scene .av-7 {
    background: linear-gradient(135deg, #1abc9c, #16a085);
}
.hero-mockup-scene .av-8 {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

/* Fade bottom kanban */
.hero-mockup-scene .kanban-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, white, transparent);
    pointer-events: none;
    z-index: 2;
}

/* ===== PANEL STATS ===== */
.hero-mockup-scene .panel-stats {
    width: 420px;
    height: 285px;
    z-index: 20;
    bottom: 120px;
    left: 200px;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.04),
        0 8px 20px rgba(0, 0, 0, 0.04),
        0 24px 56px rgba(0, 0, 0, 0.08),
        0 40px 80px -16px rgba(0, 0, 0, 0.1);
}

.hero-mockup-scene .stats-body {
    flex: 1;
    padding: 10px 16px;
    overflow: hidden;
}
.hero-mockup-scene .stats-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.hero-mockup-scene .stats-title {
    font: 700 14px/1 var(--font-display);
    color: var(--turquoise-600);
}
.hero-mockup-scene .stats-export {
    font: 500 9px/1 var(--font-body);
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

/* Stats table */
.hero-mockup-scene .stats-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
}
.hero-mockup-scene .stats-table th {
    font: 600 8.5px/1 var(--font-body);
    color: var(--gray-500);
    text-align: center;
    padding: 4px 3px;
    border-bottom: 1px solid var(--gray-200);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.hero-mockup-scene .stats-table th:first-child {
    text-align: left;
}
.hero-mockup-scene .stats-table td {
    font: 500 10px/1 var(--font-body);
    color: var(--gray-700);
    text-align: center;
    padding: 6px 3px;
    border-bottom: 1px solid #f8f8f8;
}
.hero-mockup-scene .stats-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--gray-900);
}
.hero-mockup-scene .stats-table .total-row td {
    font-weight: 700;
    border-top: 1px solid var(--gray-200);
    border-bottom: none;
}
.hero-mockup-scene .stats-table .total-col {
    background: var(--gray-100);
    border-radius: 4px;
    font-weight: 700;
}
.hero-mockup-scene .val-up {
    color: #10b981;
}
.hero-mockup-scene .val-up::after {
    content: " \2191";
    font-size: 8px;
}
.hero-mockup-scene .val-down {
    color: #ef4444;
}
.hero-mockup-scene .val-down::after {
    content: " \2193";
    font-size: 8px;
}

/* Mini bar chart */
.hero-mockup-scene .chart {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    height: 60px;
    padding: 0 8px;
}
.hero-mockup-scene .chart-group {
    display: flex;
    gap: 3px;
    align-items: flex-end;
    flex: 1;
}
.hero-mockup-scene .chart-bar {
    flex: 1;
    border-radius: 3px 3px 0 0;
    max-width: 18px;
    min-width: 8px;
}
.hero-mockup-scene .chart-bar.blue {
    background: #4a7cf3;
}
.hero-mockup-scene .chart-bar.gold {
    background: #f5a623;
}
.hero-mockup-scene .chart-label {
    font: 400 7px/1 var(--font-body);
    color: var(--gray-500);
    text-align: center;
    margin-top: 4px;
    white-space: nowrap;
}
.hero-mockup-scene .chart-legend {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 6px;
}
.hero-mockup-scene .chart-legend-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font: 400 8px/1 var(--font-body);
    color: var(--gray-600);
}
.hero-mockup-scene .chart-legend-dot {
    width: 7px;
    height: 7px;
    border-radius: 2px;
}

/* ===== PANEL PROFILE ===== */
.hero-mockup-scene .panel-profile {
    width: 360px;
    height: 420px;
    z-index: 20;
    right: 130px;
    bottom: 120px;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.04),
        0 8px 20px rgba(0, 0, 0, 0.04),
        0 24px 56px rgba(0, 0, 0, 0.08),
        0 40px 80px -16px rgba(0, 0, 0, 0.1);
}

.hero-mockup-scene .profile-body {
    flex: 1;
    padding: 16px;
    overflow: hidden;
}
.hero-mockup-scene .profile-header-section {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 14px;
}
.hero-mockup-scene .profile-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font: 700 18px/1 var(--font-display);
    color: white;
    overflow: hidden;
}
.hero-mockup-scene .profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-mockup-scene .profile-name {
    font: 700 15px/1.2 var(--font-display);
    color: var(--gray-950);
}
.hero-mockup-scene .profile-sub {
    font: 400 10.5px/1.3 var(--font-body);
    color: var(--gray-500);
    margin-top: 2px;
}

/* Timeline fields */
.hero-mockup-scene .profile-fields {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding-left: 18px;
}
.hero-mockup-scene .profile-fields::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: var(--gray-200);
    border-radius: 1px;
}
.hero-mockup-scene .profile-field {
    position: relative;
    padding: 8px 0;
}
.hero-mockup-scene .profile-field-dot {
    position: absolute;
    left: -18px;
    top: 12px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    z-index: 1;
}
.hero-mockup-scene .profile-field-dot.purple {
    background: #7c3aed;
}
.hero-mockup-scene .profile-field-dot.orange {
    background: var(--orange-500);
}
.hero-mockup-scene .profile-field-dot.blue {
    background: #0077b5;
}
.hero-mockup-scene .profile-field-dot.green {
    background: var(--green-500);
}
.hero-mockup-scene .profile-field-label {
    font: 700 11px/1 var(--font-body);
    color: var(--gray-900);
    margin-bottom: 3px;
}
.hero-mockup-scene .profile-field-value {
    font: 400 10.5px/1.45 var(--font-body);
    color: var(--gray-600);
}
.hero-mockup-scene .profile-field-meta {
    font: 400 9px/1 var(--font-body);
    color: var(--gray-400);
    margin-top: 4px;
}
.hero-mockup-scene .profile-cv-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font: 500 10.5px/1 var(--font-body);
    color: var(--orange-500);
    text-decoration: none;
    margin-top: 2px;
}
