    /* Office-box.ch - Styles CSS 2026 */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    :root {
        --primary: #003399;
        --primary-dark: #002266;
        --primary-light: rgba(0, 51, 153, 0.08);
        --accent: #dc2626;  /* unifié avec --danger */
        --text-dark: #0f172a;
        --text-gray: #64748b;
        --text-light: #94a3b8;
        --bg-light: #f8fafc;
        --bg-white: #ffffff;
        --border: #e2e8f0;
        --success: #22c55e;

        /* Gradient accent (bleu → violet → rose) */
        --grad-start: #003399;
        --grad-mid: #7c3aed;
        --grad-end: #ec4899;
        --gradient-text: linear-gradient(135deg, var(--grad-start), var(--grad-mid), var(--grad-end));
        --gradient-subtle: linear-gradient(135deg, rgba(0,51,153,.06), rgba(124,58,237,.06), rgba(236,72,153,.04));
        --gradient-border: linear-gradient(135deg, var(--grad-start), var(--grad-mid), var(--grad-end));
        --gradient-glow: 0 4px 20px rgba(124, 58, 237, .15);
    }

    body {
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
        background: var(--bg-light);
        color: var(--text-dark);
        line-height: 1.6;
        min-height: 100vh;
    }

    h1,
    h2,
    h3,
    h4 {
        font-family: 'Plus Jakarta Sans', sans-serif;
    }

    /* ==================== APP NAVBAR ==================== */
    .app-navbar {
        background: var(--bg-white);
        border-bottom: 1px solid var(--border);
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 100;
        height: 60px;
    }

    .app-navbar-container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 24px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 100%;
    }

    .app-navbar-left {
        display: flex;
        align-items: center;
        gap: 40px;
    }

    .app-logo {
        display: flex;
        align-items: center;
        text-decoration: none;
        gap: 8px;
    }

    .app-logo-icon {
        width: 32px;
        height: 32px;
        background: var(--primary);
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .app-logo-icon::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 8px;
        height: 8px;
        background: var(--accent);
    }

    .app-logo-icon i {
        color: white;
        font-size: 14px;
    }

    .app-logo-text {
        font-family: 'Plus Jakarta Sans', sans-serif;
        font-weight: 700;
        font-size: 1.1rem;
        color: var(--text-dark);
    }

    .app-logo-text span {
        color: var(--text-light);
        font-weight: 400;
    }

    .app-nav-menu {
        display: flex;
        align-items: center;
        gap: 4px;
        list-style: none;
    }

    .app-nav-menu a {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 14px;
        color: var(--text-gray);
        text-decoration: none;
        font-size: 0.7rem;
        font-weight: 500;
        border-radius: 6px;
        transition: all 0.15s ease;
    }

    .app-nav-menu a:hover {
        background: var(--bg-light);
        color: var(--text-dark);
    }

    .app-nav-menu a.active {
        background: var(--bg-light);
        color: var(--primary);
        font-weight: 600;
    }

    .app-nav-menu a.active i {
        color: var(--primary);
    }

    .app-nav-menu a i {
        font-size: 0.95rem;
        width: 18px;
        text-align: center;
    }

    .app-navbar-right {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .app-nav-action {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 6px;
        color: var(--text-gray);
        text-decoration: none;
        transition: all 0.15s ease;
    }

    .app-nav-action:hover {
        background: var(--bg-light);
        color: var(--text-dark);
    }

    .app-nav-logout {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 14px;
        color: var(--text-gray);
        text-decoration: none;
        font-size: 0.7rem;
        font-weight: 500;
        border-radius: 6px;
        transition: all 0.15s ease;
        margin-left: 8px;
    }

    .app-nav-logout:hover {
        background: #fef2f2;
        color: #ef4444;
    }

    /* ================= MOBILE MENU ================= */

    .mobile-menu-btn {
        display: none;
        background: none;
        border: none;
        cursor: pointer;
        color: var(--text-dark);
    }

    .mobile-menu {
        display: none;
    }

    /* icône hamburger */
    .mobile-menu-btn i {
        font-size: 1.4rem;
    }

    /* ==================== MAIN CONTENT ==================== */
    .app-main {
        padding: 100px 24px 60px;
        max-width: 900px;
        margin: 0 auto;
    }

    /* ==================== PAGE HEADER ==================== */
    .support-header {
        margin-bottom: 40px;
    }

    .support-header h1 {
        font-size: 1.75rem;
        font-weight: 700;
        color: var(--text-dark);
        margin-bottom: 16px;
    }

    .support-header p {
        font-size: 0.95rem;
        color: var(--text-gray);
        line-height: 1.7;
    }

    .support-option {
        transition: all 0.2s ease;
        cursor: pointer;
    }

    .support-option:hover {
        border-color: var(--primary);
        background: rgba(89, 104, 133, 0.04);
    }

    .support-link {
        display: block;
        text-decoration: none;
        color: inherit;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .support-link:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
    }

    .support-link h3,
    .support-link p,
    .support-link .price-amount,
    .support-link .price-detail {
        color: inherit;
    }

    /* ==================== SUPPORT OPTIONS ==================== */

    /* conteneur */
    .support-options {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        margin-bottom: 48px;
    }

    /* carte */
    .support-option {
        background: var(--bg-white);
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 28px;
        transition: all 0.2s ease;
    }

    /* carte mise en avant */
    .support-option.featured {
        border: 2px solid var(--primary-dark);
    }

    /* lien complet sur la carte */
    .support-link {
        display: block;
        text-decoration: none;
        color: inherit;
        cursor: pointer;
    }

    .support-link:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
    }

    /* en-tête */
    .option-header {
        display: flex;
        align-items: center;
        gap: 14px;
        margin-bottom: 16px;
    }

    .option-header h3 {
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--text-dark);
    }

    /* texte */
    .support-option p {
        font-size: 0.9rem;
        color: var(--text-gray);
        line-height: 1.6;
        margin-bottom: 12px;
    }

    /* badge gratuit */
    .free-badge {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: rgba(34, 197, 94, 0.1);
        color: #16a34a;
        font-size: 0.8rem;
        font-weight: 600;
        padding: 6px 12px;
        border-radius: 20px;
        margin-top: 8px;
    }

    .free-badge i {
        font-size: 0.75rem;
    }

    /* prix */
    .price-info {
        background: var(--bg-light);
        border-radius: 8px;
        padding: 14px 16px;
        margin-top: 12px;
    }

    .price-amount {
        font-size: 1rem;
        font-weight: 600;
        color: var(--text-dark);
    }

    .price-detail {
        font-size: 0.8rem;
        color: var(--text-gray);
        margin-top: 4px;
    }


    /* ==================== FAQ SECTION ==================== */
    .faq-section {
        margin-bottom: 40px;
    }

    .faq-section h2 {
        font-size: 1.25rem;
        font-weight: 600;
        color: var(--text-dark);
        margin-bottom: 20px;
    }

    .faq-list {
        background: var(--bg-white);
        border: 1px solid var(--border);
        border-radius: 12px;
        overflow: hidden;
    }

    .faq-item {
        border-bottom: 1px solid var(--border);
    }

    .faq-item:last-child {
        border-bottom: none;
    }

    .faq-question {
        padding: 18px 24px;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-weight: 500;
        font-size: 0.95rem;
        color: var(--text-dark);
        transition: background 0.15s ease;
    }

    .faq-question:hover {
        background: var(--bg-light);
    }

    .faq-question i {
        color: var(--text-light);
        font-size: 0.85rem;
        transition: transform 0.2s ease;
    }

    .faq-item.active .faq-question i {
        transform: rotate(180deg);
    }

    .faq-answer {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
    }

    .faq-item.active .faq-answer {
        max-height: 300px;
    }

    .faq-answer-content {
        padding: 0 24px 18px;
        font-size: 0.9rem;
        color: var(--text-gray);
        line-height: 1.7;
    }

    /* ==================== TIP BOX ==================== */
    .tip-box {
        background: linear-gradient(135deg, rgba(0, 51, 153, 0.04) 0%, rgba(0, 51, 153, 0.08) 100%);
        border: 1px solid rgba(0, 51, 153, 0.12);
        border-radius: 12px;
        padding: 24px;
        display: flex;
        align-items: flex-start;
        gap: 16px;
    }

    .tip-icon {
        width: 40px;
        height: 40px;
        background: var(--primary);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .tip-icon i {
        color: white;
        font-size: 1rem;
    }

    .tip-content h4 {
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--text-dark);
        margin-bottom: 4px;
    }

    .tip-content p {
        font-size: 0.9rem;
        color: var(--text-gray);
        line-height: 1.6;
    }

    /* ==================== RESPONSIVE ==================== */
    @media (max-width: 1024px) {
        .hero-container {
            grid-template-columns: 1fr;
            text-align: center;
        }

        .hero p {
            margin-left: auto;
            margin-right: auto;
        }

        .hero-buttons {
            justify-content: center;
        }

        .trust-indicators {
            justify-content: center;
        }

        .hero-gallery {
            display: none;
        }

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

        .metiers-grid {
            grid-template-columns: repeat(2, 1fr);
        }

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

        .pricing-grid {
            grid-template-columns: 1fr;
            max-width: 400px;
        }

        .contact-grid {
            grid-template-columns: 1fr;
        }

        .footer-container {
            grid-template-columns: repeat(2, 1fr);
        }
    }


    @media (max-width: 768px) {

        .app-navbar {
            height: 64px;
        }

        .app-navbar-container {
            padding: 0 14px;
            height: 64px;
        }

        .app-navbar-left {
            gap: 12px;
            min-width: 0;
        }

        .app-logo-text {
            font-size: 1rem;
        }

        /* cacher seulement le menu desktop */
        .app-nav-menu {
            display: none;
        }

        /* garder la zone droite visible pour le bouton hamburger */
        .app-navbar-right {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        /* cacher seulement les actions desktop */
        .app-navbar-right .app-nav-action,
        .app-navbar-right .app-nav-logout {
            display: none;
        }

        /* bouton hamburger */
        .mobile-menu-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 44px;
            height: 44px;
            background: transparent;
            border: none;
            border-radius: 8px;
            color: var(--text-dark);
            cursor: pointer;
            flex-shrink: 0;
        }

        .mobile-menu-btn i {
            font-size: 1.55rem;
        }

        .mobile-menu-btn:hover {
            background: var(--bg-light);
        }

        /* menu mobile */
        .mobile-menu {
            position: fixed;
            top: 64px;
            left: 0;
            right: 0;
            bottom: 0;
            background: var(--bg-white);
            border-top: 1px solid var(--border);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            display: none;
            flex-direction: column;
            align-items: stretch;
            padding: 14px;
            z-index: 200;
            overflow-y: auto;
        }

        .mobile-menu.open {
            display: flex;
        }

        .mobile-menu a {
            display: flex;
            align-items: center;
            gap: 12px;
            width: 100%;
            min-height: 48px;
            padding: 12px 14px;
            margin: 2px 0;
            border-radius: 10px;
            text-decoration: none;
            color: var(--text-gray);
            font-weight: 500;
            font-size: 1rem;
            text-align: left;
            justify-content: flex-start;
            transition: all 0.18s ease;
        }

        .mobile-menu a i {
            width: 20px;
            text-align: center;
            font-size: 1rem;
            color: var(--text-gray);
        }

        .mobile-menu a:hover {
            background: var(--bg-light);
            color: var(--text-dark);
        }

        .mobile-menu a:hover i {
            color: var(--text-dark);
        }

        .mobile-menu a.active {
            background: var(--bg-light);
            color: var(--primary);
            font-weight: 600;
        }

        .mobile-menu a.active i {
            color: var(--primary);
        }

        .mobile-menu-separator {
            height: 1px;
            background: var(--border);
            margin: 10px 0;
        }

        .mobile-menu .logout-link {
            margin-top: 8px;
            color: var(--text-gray);
        }

        .mobile-menu .logout-link i {
            color: var(--text-gray);
        }

        .mobile-menu .logout-link:hover {
            background: #fef2f2;
            color: #ef4444;
        }

        .mobile-menu .logout-link:hover i {
            color: #ef4444;
        }

        /*page assistance */

        .support-options {
            grid-template-columns: 1fr;
        }
    }


/* ============================================================
   AUTH 2FA
   Extrait de auth-2fa.php
   ============================================================ */

.code-inputs { display:flex; gap:10px; justify-content:center; margin:20px 0; }
.code-inputs input {
    width:48px; height:56px; text-align:center; font-size:1.5rem; font-weight:700;
    border:2px solid #e2e8f0; border-radius:10px; outline:none;
    transition:border-color .2s; font-family:'Plus Jakarta Sans',sans-serif;
}
.code-inputs input:focus { border-color:#3b82f6; box-shadow:0 0 0 3px rgba(59,130,246,.15); }
.resend-link { text-align:center; margin-top:12px; font-size:0.88rem; }
.resend-link a { color:#3b82f6; text-decoration:none; }
.resend-link a:hover { text-decoration:underline; }


/* ============================================================
   MODE SOMBRE (Dark Mode)
   — Appliquer class="dark" sur <body> via JS toggleTheme()
   — Détection automatique via prefers-color-scheme
   — Mémorisation 90 jours via cookie ob_theme
   ============================================================ */

/* Variables par défaut (mode clair) pour pages autonomes        */
/* Complète les variables app existantes (--primary, etc.)       */
:root {
    --bg:           #ffffff;
    --card-bg:      #ffffff;
    --card-border:  #e2e8f0;
    --card-shadow:  0 2px 16px rgba(0,0,0,.07);
    --text:         #334155;
    --text-sub:     #475569;
    --text-muted:   #64748b;
    --question:     #1e293b;
    --warn-bg:      #f8fafc;
    --warn-border:  #e2e8f0;
    --warn-left:    #94a3b8;
    --warn-title:   #475569;
    --warn-text:    #64748b;
    --sep:          #e2e8f0;
    --link:         #3b82f6;
    --done-title:   #15803d;
    --footer-bg:    #ffffff;
    --ob-pill-bg:   #0f172a;
}

/* Variables mode sombre — écrase les valeurs app ET autonomes   */
body.dark {
    background: #0a1120;
    color:      #dce6f4;
    /* Variables app (--text-dark, --bg-white, etc.) */
    --text-dark:  #dce6f4;
    --text-gray:  #8ea8cc;
    --text-light: #5f7a9e;
    --bg-light:   #0e1826;
    --bg-white:   #131d32;
    --border:     #1d2c48;
    /* Variables pages autonomes (--bg, --card-bg, etc.) */
    --bg:           #0a1120;
    --card-bg:      #131d32;
    --card-border:  #1d2c48;
    --card-shadow:  0 4px 28px rgba(0,0,0,.55);
    --text:         #dce6f4;
    --text-sub:     #8ea8cc;
    --text-muted:   #5f7a9e;
    --question:     #ecf2fc;
    --warn-bg:      #1a1535;
    --warn-border:  #2e2060;
    --warn-left:    #7c3aed;
    --warn-title:   #a78bfa;
    --warn-text:    #8b82c0;
    --sep:          #1d2c48;
    --link:         #7c9ff8;
    --done-title:   #34d399;
    --footer-bg:    #0a1120;
    --ob-pill-bg:   #131d32;
}

/* ============================================================
   COMPOSANT — Barre dégradé (4 px) au sommet d'une carte
   Usage : <div class="grad-bar"></div> en tête de .ob-card
   ============================================================ */
.grad-bar {
    height: 4px;
    background: linear-gradient(135deg, #003399 0%, #7c3aed 55%, #ec4899 100%);
}

/* ============================================================
   COMPOSANT — Bouton bascule mode sombre (.theme-toggle)
   Usage :
     <button class="theme-toggle" onclick="toggleTheme()">
       <span id="themeIcon">☀</span>
       <span id="themeLabel">Mode sombre</span>
     </button>
   JS requis : setCookie / getCookie / applyTheme / toggleTheme
   (voir email-unsubscribe.php ou style-demo.html)
   ============================================================ */
.theme-toggle {
    position: fixed;
    top: 14px; right: 16px;
    background: var(--bg-white, #fff);
    border: 1px solid var(--border, #e2e8f0);
    color: var(--text-gray, #64748b);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: .78rem;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 1px 6px rgba(0,0,0,.10);
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 200;
    transition: background .25s, color .25s, border-color .25s;
}
.theme-toggle:hover { opacity: .85; }

/* ============================================================
   COMPOSANT — Carte autonome (.ob-card)
   Pour pages publiques sans navbar app (email, désabonnement)
   Usage :
     <div class="ob-card">
       <div class="grad-bar"></div>
       <div class="ob-card-header">
         <span class="ob-card-icon">✉</span>
         <div>
           <h1>Titre</h1>
           <div class="ob-card-company">Nom société</div>
         </div>
       </div>
       <div class="ob-card-body">...</div>
     </div>
   ============================================================ */
.ob-card {
    background: var(--card-bg, #fff);
    border-radius: 14px;
    box-shadow: var(--card-shadow, 0 2px 16px rgba(0,0,0,.07));
    border: 1px solid var(--card-border, #e2e8f0);
    width: 100%; max-width: 520px;
    overflow: hidden;
    transition: background .25s, border-color .25s, box-shadow .25s;
}
/* Halo violet en mode sombre — identique au mail */
body.dark .ob-card,
body.dark .ob-pill {
    box-shadow: 0 0 0 1px #1d2c48, 0 8px 48px rgba(124,58,237,.22);
}
.ob-card-header {
    background: var(--card-bg, #fff);
    border-bottom: 1px solid var(--card-border, #e2e8f0);
    padding: 20px 24px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: background .25s, border-color .25s;
}
/* Icône gradient dans l'en-tête */
.ob-card-icon {
    font-size: 1.5rem; flex-shrink: 0; margin-top: 2px;
    background: linear-gradient(135deg, #003399 0%, #7c3aed 55%, #ec4899 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; color: #003399;
}
/* Titre gradient dans l'en-tête */
.ob-card-header h1 {
    font-size: 1.35rem; font-weight: 700; line-height: 1.25;
    background: linear-gradient(135deg, #003399 0%, #7c3aed 55%, #ec4899 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; color: #003399;
}
.ob-card-company { font-size: .8rem; color: var(--text-muted, #64748b); margin-top: 5px; }
.ob-card-body    { padding: 24px 28px; }

/* ============================================================
   COMPOSANT — Boîte d'avertissement (.warning-box)
   Usage :
     <div class="warning-box">
       <div class="warning-title">⚠ Attention</div>
       <p>Message explicatif...</p>
     </div>
   ============================================================ */
.warning-box {
    background: var(--warn-bg, #f8fafc);
    border: 1px solid var(--warn-border, #e2e8f0);
    border-left: 3px solid var(--warn-left, #94a3b8);
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 20px;
    transition: background .25s, border-color .25s;
}
.warning-title {
    font-weight: 600;
    color: var(--warn-title, #475569);
    font-size: .85rem;
    margin-bottom: 5px;
}
.warning-box p { font-size: .84rem; color: var(--warn-text, #64748b); line-height: 1.65; }

/* ============================================================
   COMPOSANT — Footer pill Office-Box (.ob-pill)
   Usage :
     <a class="ob-footer-link" href="https://www.office-box.ch">
       <div class="ob-pill">
         <span class="ob-logo"><!-- table logo --></span>
         <div class="ob-text">
           <div class="ob-name">Office-<span class="blue">box</span>
             <span class="grey">.ch</span></div>
           <div class="ob-sub">Logiciel de facturation suisse</div>
         </div>
       </div>
     </a>
   ============================================================ */
.ob-footer-link { display: block; max-width: 520px; margin: 0 auto; text-decoration: none; }
.ob-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--ob-pill-bg, #0f172a);
    border-radius: 10px;
    padding: 12px 20px 12px 14px;
    border: 1px solid var(--card-border, #e2e8f0);
    transition: background .25s, border-color .25s;
}
.ob-logo table { border-collapse: collapse; }
.ob-text  { text-align: left; }
.ob-name  { color: #fff; font-size: .85rem; font-weight: 700; }
.ob-name .blue { color: #60a5fa; }
.ob-name .grey { color: #64748b; font-weight: 400; font-size: .68rem; }
.ob-sub   { color: #64748b; font-size: .7rem; margin-top: 1px; }
.ob-sub a { color: #60a5fa; text-decoration: none; }

