:root {
    --bg-color: #0d1117;
    --card-bg: rgba(22, 27, 34, 0.7);
    --accent-color: #58a6ff;
    --accent-glow: rgba(88, 166, 255, 0.3);
    --secondary-color: #f0883e;
    --text-primary: #f0f6fc;
    --text-secondary: #8b949e;
    --border-color: rgba(240, 246, 252, 0.1);
    --sidebar-width: 260px;
    --gradient-1: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    --gradient-blue: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
    --gradient-orange: linear-gradient(135deg, #ff9966 0%, #ff5e62 100%);
    --hub-color: #f59e0b;
    --hub-glow: rgba(245, 158, 11, 0.3);
    --compost-color: #84cc16;
    --compost-glow: rgba(132, 204, 22, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
.logo-text {
    font-family: 'Outfit', sans-serif;
}

.app-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styling */
.sidebar {
    width: var(--sidebar-width);
    background-color: #010409;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem;
    position: fixed;
    height: 100dvh;
    z-index: 100;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) transparent;
}

.sidebar::-webkit-scrollbar {
    width: 4px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 10px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 3rem;
    text-decoration: none;
    color: inherit;
}

.logo-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    flex: 1;
}

.nav-divider {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin: 2rem 0 0.5rem 1rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 15px;
}

.nav-divider.collapsible {
    cursor: pointer !important;
    user-select: none;
    position: relative;
    z-index: 1000; /* Toujours au-dessus des sections pour capter les clics */
    transition: all 0.25s ease;
    padding: 8px 10px 8px 12px;
    border-radius: 6px;
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-divider.collapsible:hover {
    background: rgba(212, 175, 55, 0.1); /* Or SB subtil au hover */
    color: var(--accent-color);
}

.nav-divider.collapsible::after {
    content: '▾';
    font-size: 1rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.6;
    margin-left: auto;
}

.nav-divider.collapsible.collapsed::after {
    transform: rotate(-90deg);
}

.nav-section {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 800px;
    overflow: hidden;
    opacity: 1;
}

.nav-section.collapsed {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    margin-bottom: -15px;
}

/* Sidebar Miniature */
.sidebar.mini {
    width: 70px !important;
}

.sidebar.mini .sb-text-stack {
    display: none !important;
}

.sidebar.mini .sb-logo-container {
    padding: 20px 0;
    justify-content: center;
}

.sidebar.mini .nav-item span:not(.icon),
.sidebar.mini .sidebar-footer p,
.sidebar.mini .logout-btn span:not(.icon) {
    display: none !important;
}

.sidebar.mini .nav-divider {
    display: none !important;
}

.sidebar.mini .nav-item {
    justify-content: center;
    padding: 12px 0;
    margin: 5px;
}

.sidebar.mini .icon {
    font-size: 1.4rem;
    margin: 0;
}

.sidebar.mini .nav-section {
    max-height: none !important;
    opacity: 1 !important;
}

.toggle-sidebar-btn {
    position: absolute;
    right: -15px;
    top: 30px;
    width: 30px;
    height: 30px;
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.toggle-sidebar-btn:hover {
    transform: scale(1.1);
    background: var(--accent-color);
    color: var(--bg-primary);
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text-secondary);
    border-radius: 12px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    transform: translateX(5px);
}

.nav-item.active {
    background: rgba(88, 166, 255, 0.1);
    color: var(--accent-color);
    font-weight: 600;
}

.nav-item-sub {
    font-size: 0.8rem;
    opacity: 0.8;
    padding: 8px 15px;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.nav-item-sub:hover {
    background: rgba(255, 255, 255, 0.08);
    opacity: 1;
    transform: translateX(3px);
}

.sidebar-footer {
    margin-top: auto;
    font-size: 0.75rem;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: rgba(248, 81, 73, 0.1);
    border: 1px solid rgba(248, 81, 73, 0.2);
    border-radius: 12px;
    color: #ff7b72;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: rgba(248, 81, 73, 0.2);
    transform: translateY(-2px);
}

/* Main Content Area */
.main-content {
    margin-left: var(--sidebar-width);
    flex: 1;
    padding: 2rem 3rem;
    background: radial-gradient(circle at 50% 0%, #1e293b -100%, #0d1117 80%);
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.welcome h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.highlight {
    color: var(--accent-color);
}

.welcome p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.date-display {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Grid & Cards */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.glass {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.glass:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px var(--accent-glow);
    border-color: rgba(88, 166, 255, 0.3);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge.transport {
    background: rgba(88, 166, 166, 0.2);
    color: var(--accent-color);
}

.badge.business {
    background: rgba(240, 136, 62, 0.2);
    color: var(--secondary-color);
}

.badge.family {
    background: rgba(187, 128, 255, 0.2);
    color: #bb80ff;
}

.badge.agri {
    background: rgba(46, 160, 67, 0.2);
    color: #3fb950;
}

.card.featured {
    grid-column: span 1;
    border-color: var(--secondary-color);
    box-shadow: 0 0 15px rgba(240, 136, 62, 0.1);
}

@media (min-width: 1024px) {
    .card.featured {
        grid-column: span 2;
    }
}

.card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-desc {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    min-height: 3rem;
}

.stats-mini {
    margin-bottom: 2rem;
    display: flex;
    gap: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.stat-value {
    font-weight: 600;
    color: var(--text-primary);
}

.btn {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: filter 0.3s ease;
}

.btn-primary {
    background: var(--gradient-blue);
    color: white;
}

.btn-secondary {
    background: var(--gradient-orange);
    color: white;
}

.btn-agri {
    background: linear-gradient(135deg, #2ea043 0%, #3fb950 100%);
    color: white;
}

.featured-glow {
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(88, 166, 255, 0.1);
}

.integration-map {
    height: 120px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

.node {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    z-index: 2;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
}

.node.central {
    width: 50px;
    height: 50px;
    background: var(--gradient-blue);
    color: white;
    box-shadow: 0 0 15px var(--accent-glow);
}

.node.sub {
    font-size: 1.2rem;
    position: absolute;
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    padding: 3rem;
    position: relative;
    overflow-y: auto;
    animation: modalAppear 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalAppear {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
}

.close-modal:hover {
    color: var(--text-primary);
}

#modal-body-content h1,
#modal-body-content h2 {
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

#modal-body-content p {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

#modal-body-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

#modal-body-content li {
    margin-bottom: 0.5rem;
}

.node.sub:nth-of-type(4) {
    transform: translate(-60px, 40px);
}

.node.sub:nth-of-type(5) {
    transform: translate(60px, 40px);
}

.connector {
    position: absolute;
    height: 2px;
    background: var(--border-color);
    width: 60px;
    z-index: 1;
}

.connector.c1 {
    transform: rotate(150deg) translate(30px, 0);
}

.connector.c2 {
    transform: rotate(30deg) translate(30px, 0);
}

/* Action List */
.action-list {
    list-style: none;
}

.action-list li {
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 10px;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.action-list li:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* Timeline */
.timeline-section h2 {
    margin-bottom: 2rem;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.dot {
    position: absolute;
    left: -2rem;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--text-secondary);
    border: 3px solid var(--bg-color);
    z-index: 1;
}

.timeline-item.completed .dot {
    background: #238636;
}

.timeline-item.active .dot {
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
}

.timeline-item h3 {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.timeline-item p {
    font-weight: 500;
}

/* Mobile adjustments for all pages */
@media (max-width: 768px) {
    .sidebar {
        left: -100%;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: none;
        /* Default hidden */
    }

    /* Overlay de fermeture */
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 3500;
        animation: fadeIn 0.3s ease;
    }

    .sidebar.active+.sidebar-overlay {
        display: block;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    .sidebar.active {
        display: flex !important;
        left: 0;
        width: 280px;
        z-index: 4000;
        box-shadow: 20px 0 50px rgba(0, 0, 0, 0.8);
    }

    .main-content {
        margin-left: 0;
        padding: 1rem;
        width: 100%;
    }

    /* Force grids to single column */
    .workspace-grid,
    .finance-grid,
    .charts-container,
    .overview-grid,
    .farm-status {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    /* Logo banners adjustments */
    .logo-banner {
        height: 150px !important;
        border-radius: 15px !important;
        background-size: contain !important;
        background-position: center !important;
    }

    .logo-banner img {
        width: 80% !important;
        height: auto !important;
        margin-top: 0 !important;
    }

    /* Header adjustments */
    header.top-bar,
    header.workspace-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    header h1 {
        font-size: 1.5rem;
    }

    /* Mobile menu button style - Positioned Left & Optimized */
    .mobile-menu-btn {
        display: flex !important;
        position: fixed;
        top: 1rem;
        left: 1rem;
        z-index: 3000;
        background: rgba(88, 166, 255, 0.2);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        color: var(--accent-color);
        width: 45px;
        height: 45px;
        border-radius: 12px;
        border: 1px solid rgba(88, 166, 255, 0.3);
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        font-size: 1.2rem;
        transition: all 0.3s ease;
    }

    .mobile-menu-btn:active {
        transform: scale(0.9);
        background: var(--accent-color);
        color: #000;
    }
}

.mobile-menu-btn {
    display: none;
}

/* Hub Warwi Card Specifics */
.hub-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px var(--hub-glow);
    border-color: rgba(245, 158, 11, 0.5);
}

.hub-card .badge {
    background: rgba(245, 158, 11, 0.2);
    color: var(--hub-color);
}

/* --- HORIZON AI CHATBOT --- */
.ai-trigger {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #bd93f9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(88, 166, 255, 0.4);
    z-index: 1000;
    animation: pulse-ai 2s infinite;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes pulse-ai {
    0% {
        box-shadow: 0 0 0 0 rgba(88, 166, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(88, 166, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(88, 166, 255, 0);
    }
}

.ai-trigger:hover {
    transform: scale(1.1) rotate(5deg);
}

.ai-trigger span {
    font-size: 1.8rem;
}

.ai-chat-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 380px;
    height: 550px;
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: none;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    overflow: hidden;
    animation: slideInUp 0.3s ease;
}

.ai-chat-window.active {
    display: flex;
}

.ai-header {
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-header .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3fb950;
    box-shadow: 0 0 10px #3fb950;
}

.ai-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ai-msg {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 15px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.ai-msg.bot {
    background: rgba(255, 255, 255, 0.05);
    color: #c9d1d9;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.ai-msg.user {
    background: var(--accent-color);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.ai-input-area {
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    gap: 10px;
}

.badge.agri {
    background: rgba(132, 204, 22, 0.1);
    color: #84cc16;
}

.badge.compost {
    background: var(--compost-glow);
    color: var(--compost-color);
    border: 1px solid rgba(132, 204, 22, 0.2);
}

.btn-agri {
    background: rgba(132, 204, 22, 0.15);
    color: #84cc16;
    border: 1px solid rgba(132, 204, 22, 0.3);
}

.btn-compost {
    background: var(--compost-glow);
    color: var(--compost-color);
    border: 1px solid rgba(132, 204, 22, 0.3);
}

.ai-input-area input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 10px 20px;
    color: white;
    outline: none;
}

.ai-input-area button {
    background: var(--accent-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .ai-chat-window {
        width: calc(100% - 40px);
        right: 20px;
        left: 20px;
        bottom: 90px;
        height: 75vh;
    }
}

/* Style pour l'image réelle du label Horizon Vert */
.horizon-label-image {
    width: 180px;
    height: 180px;
    margin: 20px auto;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.6));
    border-radius: 50%;
    transition: transform 0.3s ease, filter 0.3s ease;
    display: block;
}

.horizon-label-image:hover {
    transform: scale(1.05) rotate(2deg);
    filter: drop-shadow(0 20px 40px rgba(132, 204, 22, 0.4));
}

/* Notifications Système */
.notification-toast {
    position: fixed;
    bottom: 20px;
    right: 80px;
    background: rgba(13, 17, 23, 0.95);
    border: 1px solid var(--accent-color);
    backdrop-filter: blur(15px);
    padding: 15px 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    z-index: 10000;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    max-width: 320px;
}

.notification-toast.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.notif-icon {
    font-size: 1.8rem;
}

.notif-content strong {
    display: block;
    font-size: 0.95rem;
    color: var(--accent-color);
    margin-bottom: 2px;
}

.notif-content p {
    font-size: 0.85rem;
    margin: 0;
    opacity: 0.9;
    color: white;
}

.chat-msg {
    opacity: 0;
    transform: translateX(-10px);
    animation: fadeInSlideChat 0.4s forwards;
    margin-bottom: 12px;
}

@keyframes fadeInSlideChat {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* --- SB HOLDING LOGO (Sawane Bawane Inc) --- */
.sb-logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    text-decoration: none;
}

.sb-icon {
    width: 45px;
    height: 45px;
    position: relative;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sb-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('assets/sawane_bawane_final.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.4));
    z-index: 2;
}

.sb-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255,255,255,0.4), transparent 40%);
    animation: flowRotation 4s linear infinite;
    z-index: 1;
}

@keyframes flowRotation {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.sb-text-stack {
    display: flex;
    flex-direction: column;
}

.sb-brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: white;
    letter-spacing: 0.5px;
    line-height: 1;
}

.sb-inc {
    font-size: 0.6rem;
    color: #00d2ff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-top: 3px;
}

/* === EXPORT PDF / IMPRESSION === */
@media print {
    @page {
        size: A4 landscape;
        margin: 0.5cm;
    }
    
    body {
        margin: 0 !important;
        padding: 0 !important;
        background: #0d1117 !important;
        color: white !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
    
    .sidebar, 
    aside,
    .mobile-menu-btn,
    .ai-trigger,
    .ai-chat-window,
    #export-pdf-btn,
    .modal,
    .top-bar {
        display: none !important;
    }
    
    .app-container {
        display: block !important;
        width: 100% !important;
    }
    
    .main-content {
        margin: 0 !important;
        padding: 10px 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        background: transparent !important;
    }
    
    .dashboard-grid, .bp-section, .editor-page {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
        page-break-inside: avoid;
        break-inside: avoid;
        width: 100% !important;
    }
    
    .glass, .card {
        background: #161b22 !important;
        border: 1px solid rgba(255,255,255,0.1) !important;
        box-shadow: none !important;
        page-break-inside: avoid;
        break-inside: avoid;
        display: block !important;
        width: 100% !important;
    }
    
    /* Correction spéciale des barres de progression pour le print */
    .progress-bar, .tms-bar {
        print-color-adjust: exact !important;
        -webkit-print-color-adjust: exact !important;
    }

    h1, h2, h3, p, span, div {
        color: white !important;
        text-shadow: none !important;
    }
    
    .logo-text {
        -webkit-text-fill-color: #00d2ff !important;
    }
}