/* ═══════════════════════════════════════════════════════════════════════════
   IMAGIN'ART SUITE — Showcase Website Stylesheet
   Design Studio Theme: Charcoal, Warm Gold & Official Plugin Tool Aesthetics
   ═══════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;600;700;800&family=Poppins:wght@300;400;600&display=swap');

:root {
    /* Palette Principale */
    --bg-dark: #080706;
    --bg-surface: #110f0d;
    --bg-card: #181512;
    --bg-card-hover: #221e19;
    --bg-glass: rgba(24, 21, 18, 0.75);
    
    /* Textes */
    --text-main: #f5f0eb;
    --text-muted: #a39587;
    --text-dim: #6d6359;
    
    /* Accents Dorés & Cuivrés */
    --gold-light: #f3dcaf;
    --gold-primary: #a78863;
    --gold-dark: #7a5e3f;
    --gold-glow: rgba(167, 136, 99, 0.25);

    /* ─── DÉGRADÉS OFFICIELS DES ICÔNES DU PLUGIN ─── */
    --glow-grid:        linear-gradient(135deg, #f0d4a0 0%, #a78863 100%);
    --glow-bento:       linear-gradient(135deg, #e8d5bc 0%, #c49a72 100%);
    --glow-brand:       linear-gradient(135deg, #bf9367 0%, #6b4f38 100%);
    --glow-export:      linear-gradient(135deg, #ddd0be 0%, #9b7f62 100%);
    --glow-pagination:  linear-gradient(135deg, #b9cddb 0%, #6f8699 100%);
    --glow-layout:      linear-gradient(135deg, #cfc4d4 0%, #83758a 100%);
    --glow-maskboard:   linear-gradient(135deg, #b39ddb 0%, #6a5acd 100%);
    --glow-qr:          linear-gradient(135deg, #80deea 0%, #26a69a 100%);
    --glow-palette:     linear-gradient(135deg, #ff8a65 0%, #e91e63 100%);
    --glow-booklet:     linear-gradient(135deg, #abe9b3 0%, #388e3c 100%);
    --glow-typoaudit:   linear-gradient(135deg, #f8bbd0 0%, #c2185b 100%);
    --glow-datamerge:   linear-gradient(135deg, #ffe0b2 0%, #e65100 100%);
    --glow-packlib:     linear-gradient(135deg, #00b0ff 0%, #0d47a1 100%);
    --glow-uvspot:      linear-gradient(135deg, #f3e5f5 0%, #ab47bc 100%);
    --glow-nesting:     linear-gradient(135deg, #80cbc4 0%, #00796b 100%);
    --glow-gradient:    linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    --glow-assetshelf:  linear-gradient(135deg, #ff9966 0%, #ff5e62 100%);
    --glow-upscayl:     linear-gradient(135deg, #d8b4fe 0%, #8b5cf6 50%, #4f46e5 100%);
    
    /* Bordures & Ombres */
    --border-subtle: rgba(167, 136, 99, 0.18);
    --border-bright: rgba(240, 212, 160, 0.35);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(167, 136, 99, 0.15);
    
    /* Rayons */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    /* Typographie */
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden; /* Bloquer scroll horizontal partout */
}

body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(167, 136, 99, 0.07) 0%, transparent 50%),
        radial-gradient(circle at 100% 40%, rgba(167, 136, 99, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 0% 80%, rgba(167, 136, 99, 0.04) 0%, transparent 40%);
    background-attachment: fixed;
    line-height: 1.6;
    overflow-x: hidden; /* Bloquer scroll horizontal */
    max-width: 100vw;   /* Ne jamais dépasser la largeur de l'écran */
    -webkit-font-smoothing: antialiased;
}

/* ─── PATTERN D'ARRIÈRE-PLAN (style portfolio) ─── */
.pattern-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/pattern.svg');
    background-repeat: repeat;
    background-size: 340px;
    opacity: 0.06;
    z-index: 0;
    pointer-events: none;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
}

/* Tout le contenu doit passer AU-DESSUS du pattern */
.site-header,
.hero-section,
section,
footer {
    position: relative;
    z-index: 1;
}

::selection {
    background: var(--gold-primary);
    color: #080706;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.2;
}

p {
    color: var(--text-muted);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box; /* S'assure que padding ne crée pas de débordement */
}

.section {
    padding: 68px 0;
    position: relative;
}

/* ─── En-têtes de section aérés et équilibrés ─── */
.section-header {
    margin-bottom: 34px;
    position: relative;
}

.section-title {
    font-size: clamp(1.85rem, 3.2vw, 2.4rem);
    font-weight: 700;
    line-height: 1.32;
    color: var(--text-main);
    letter-spacing: -0.015em;
    margin-top: 0;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    line-height: 1.74;
    color: var(--text-muted);
    max-width: 820px;
    margin-top: 0;
    margin-bottom: 0;
}

.section-desc strong {
    color: var(--text-main);
    font-weight: 600;
}

/* Header & Navbar */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(8, 7, 6, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo img.logo-icon {
    height: 38px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

.brand-logo img.logo-text {
    height: 22px;
    width: auto;
}

.brand-logo .suite-tag {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold-light);
    background: rgba(167, 136, 99, 0.15);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    margin-left: -4px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link {
    position: relative;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 6px 0;
    transition: color 0.25s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #f3dcaf, #a78863);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-link:hover {
    color: var(--gold-light);
}

.nav-link.active {
    color: #ffffff;
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Hamburger masqué par défaut (desktop) */
.nav-hamburger {
    display: none;
}

/* CTA mobile masqué par défaut (desktop) */
.nav-mobile-cta {
    display: none;
}

/* Boutons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #f3dcaf 0%, #a78863 60%, #7a5e3f 100%);
    color: #080706;
    box-shadow: 0 4px 15px rgba(167, 136, 99, 0.3);
    border-right: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(167, 136, 99, 0.45);
    filter: brightness(1.06);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-main);
    border-color: var(--border-subtle);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-bright);
    color: var(--gold-light);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

/* Badges */
.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(167, 136, 99, 0.12);
    border: 1px solid var(--border-subtle);
    padding: 7px 16px;
    border-radius: var(--radius-full);
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--gold-light);
    margin-bottom: 18px;
    letter-spacing: 0.2px;
}

.badge-tag .pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #26a69a;
}

/* ═══ HERO SECTION ═══ */
.hero-section {
    padding-top: 160px;
    padding-bottom: 80px;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 880px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 22px;
    line-height: 1.15;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #f5f0eb 30%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.18rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 740px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

/* ─── BANDEAU DE RÉASSURANCE UNIQUE HERO (Style Studio Pro) ─── */
.hero-trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0 auto 52px auto;
    max-width: 980px;
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(24, 21, 18, 0.65);
    border: 1px solid var(--border-subtle);
    padding: 7px 16px;
    border-radius: var(--radius-full);
    font-size: 0.84rem;
    color: var(--text-muted);
    backdrop-filter: blur(8px);
    transition: all 0.25s ease;
}

.trust-pill:hover {
    border-color: var(--border-bright);
    background: rgba(34, 30, 25, 0.85);
    color: var(--text-main);
    transform: translateY(-1px);
}

.trust-icon {
    width: 16px;
    height: 16px;
    color: var(--gold-primary);
    flex-shrink: 0;
}

.trust-pill strong {
    color: var(--gold-light);
    font-weight: 600;
}

/* ═══ MOCKUP STUDIO DE L'EXTENSION DANS ILLUSTRATOR ═══ */
.hero-preview {
    max-width: 1040px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    background: var(--bg-surface);
    border: 1px solid rgba(215, 201, 174, 0.22);
    box-shadow: 0 25px 65px -15px rgba(0, 0, 0, 0.85), 0 0 50px rgba(167, 136, 99, 0.12);
    overflow: hidden;
    position: relative;
}

.preview-bar {
    height: 44px;
    background: #0d0c0a;
    border-bottom: 1px solid rgba(167, 136, 99, 0.16);
    display: flex;
    align-items: center;
    padding: 0 18px;
    justify-content: space-between;
}

.preview-brand-tag {
    display: flex;
    align-items: center;
    gap: 10px;
}

.preview-ai-badge {
    background: #ff7c00;
    color: #261300;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 0.72rem;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    box-shadow: 0 0 10px rgba(255, 124, 0, 0.3);
}

.preview-app-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}

.preview-status-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
    color: var(--text-dim);
    font-family: monospace;
}

.status-indicator-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #26a69a;
    box-shadow: 0 0 8px #26a69a;
}

.preview-body {
    padding: 30px;
    background: #12100e;
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 24px;
    text-align: left;
}

@media (max-width: 860px) {
    .preview-body {
        grid-template-columns: 1fr;
    }
}

.mockup-panel {
    background: #1a1815;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 16px;
}

.mockup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 14px;
}

.mockup-tool-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mockup-canvas {
    background: #0a0908;
    border: 1px dashed var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
}

.canvas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 12px;
}

.canvas-artboards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 20px 0;
}

.canvas-board {
    aspect-ratio: 1 / 1.4;
    background: #161412;
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    padding: 8px;
    position: relative;
}

.canvas-board.selected {
    border-color: var(--gold-primary);
    box-shadow: 0 0 12px rgba(167, 136, 99, 0.2);
}

.board-label {
    font-size: 0.65rem;
    color: var(--text-dim);
    margin-bottom: 4px;
}

.board-content-line {
    height: 6px;
    background: rgba(255,255,255,0.06);
    border-radius: 2px;
    margin-bottom: 4px;
}

.board-spot {
    position: absolute;
    bottom: 8px;
    right: 8px;
    font-size: 0.6rem;
    background: rgba(171, 71, 188, 0.2);
    color: #ce93d8;
    padding: 1px 4px;
    border-radius: 2px;
    border: 1px solid rgba(171, 71, 188, 0.4);
}

/* ═══ SECTION DÉMONSTRATION EN CONDITIONS RÉELLES (Vidéo + Showcase Interactif) ═══ */
.showcase-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0d0c0a 50%, var(--bg-dark) 100%);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
}

/* ─── LECTEUR VIDÉO PRINCIPAL DÉMO ─── */
.video-card {
    max-width: 1060px;
    margin: 0 auto 40px auto;
    border-radius: var(--radius-lg);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    box-shadow: var(--shadow-soft), var(--shadow-glow);
}

.video-player-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-player-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, #1c1814 0%, #0d0c0a 100%);
    text-align: center;
    padding: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-placeholder:hover {
    background: radial-gradient(circle at center, #231e19 0%, #0e0d0b 100%);
}

.play-button-big {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f3dcaf 0%, #a78863 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #080706;
    cursor: pointer;
    box-shadow: 0 0 35px rgba(167, 136, 99, 0.5);
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.25s ease;
    margin-bottom: 18px;
    padding-left: 4px; /* Centrage optique du triangle play */
}

.play-button-big:hover {
    transform: scale(1.1);
    box-shadow: 0 0 50px rgba(167, 136, 99, 0.7);
}

.video-placeholder-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.video-placeholder-sub {
    font-size: 0.92rem;
    color: var(--text-muted);
    max-width: 520px;
    margin-bottom: 16px;
    line-height: 1.5;
}

.video-badges-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.video-info-bar {
    padding: 16px 24px;
    background: var(--bg-card);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    border-top: 1px solid var(--border-subtle);
}

.video-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.video-tag-item {
    font-size: 0.78rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.video-tag-item svg {
    color: var(--gold-primary);
    flex-shrink: 0;
}

/* ─── SÉPARATEUR ÉLÉGANT VERS LE SIMULATEUR 4 OUTILS ─── */
.sub-showcase-divider {
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: 1060px;
    margin: 40px auto 26px auto;
}

.sub-showcase-divider .divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border-subtle) 50%, transparent 100%);
}

.sub-showcase-divider .divider-badge {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--gold-light);
    background: rgba(167, 136, 99, 0.12);
    border: 1px solid var(--border-subtle);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.sub-showcase-intro {
    text-align: center;
    margin-bottom: 24px;
}

.sub-showcase-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
}

.sub-showcase-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.demo-showcase-container {
    max-width: 1060px;
    margin: 0 auto;
}

/* Barre des 4 onglets de scénarios d'atelier */
.demo-tabs-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.demo-tab-btn {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 16px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: left;
    color: var(--text-muted);
}

.demo-tab-btn:hover {
    background: var(--bg-card-hover);
    border-color: rgba(167, 136, 99, 0.35);
    color: var(--text-main);
    transform: translateY(-2px);
}

.demo-tab-btn.active {
    background: #1c1814;
    border-color: var(--gold-primary);
    box-shadow: 0 0 20px rgba(167, 136, 99, 0.2);
    color: var(--text-main);
}

.demo-tab-svg {
    width: 24px;
    height: 24px;
    color: var(--gold-primary);
    flex-shrink: 0;
}

.demo-tab-btn.active .demo-tab-svg {
    color: var(--gold-light);
}

.demo-tab-text strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: 3px;
}

.demo-tab-text small {
    display: block;
    font-size: 0.76rem;
    color: var(--text-dim);
}

.demo-tab-btn.active .demo-tab-text small {
    color: var(--gold-primary);
}

/* Carte d'affichage principale */
.demo-display-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft), var(--shadow-glow);
    overflow: hidden;
}

.scenario-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
    align-items: center;
}

@media (max-width: 900px) {
    .demo-tabs-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    .scenario-panel {
        grid-template-columns: 1fr;
        padding: 24px;
        gap: 28px;
    }
}

@media (max-width: 540px) {
    .demo-tabs-bar {
        grid-template-columns: 1fr;
    }
}

/* Contenu textuel du scénario */
.scenario-gain-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(167, 136, 99, 0.12);
    border: 1px solid var(--border-subtle);
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold-light);
    margin-bottom: 16px;
}

.scenario-headline {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 14px;
    color: var(--text-main);
}

.scenario-description {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.scenario-checklist {
    list-style: none;
    margin-bottom: 26px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.scenario-checklist li {
    font-size: 0.88rem;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.scenario-checklist .check-icon {
    color: #26a69a;
    font-weight: bold;
    flex-shrink: 0;
}

.scenario-checklist strong {
    color: var(--text-main);
}

.scenario-footer-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.scenario-badge-ref {
    font-size: 0.78rem;
    color: var(--text-dim);
    font-family: monospace;
    background: rgba(255, 255, 255, 0.04);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}

/* ─── SCHÉMAS TECHNIQUES ÉLÉGANTS D'ATELIER ─── */
.scenario-visual {
    background: #090807;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 290px;
    position: relative;
    overflow: hidden;
}

/* 1. Schéma Imposition Livret */
.imposition-schematic {
    width: 100%;
    max-width: 380px;
    position: relative;
    padding: 18px;
}

.schematic-board {
    background: #141210;
    border: 1px dashed rgba(167, 136, 99, 0.35);
    border-radius: 6px;
    display: flex;
    height: 180px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.schematic-page-block {
    flex: 1;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #1a1714;
}

.schematic-page-block.left {
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.page-tag-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--gold-light);
    background: rgba(167, 136, 99, 0.15);
    padding: 3px 8px;
    border-radius: 4px;
    align-self: flex-start;
}

.schematic-text-preview {
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    margin-top: 6px;
}

.schematic-text-preview.short {
    width: 60%;
}

.schematic-spine {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fold-indicator {
    position: absolute;
    background: #090807;
    border: 1px solid var(--gold-primary);
    color: var(--gold-light);
    font-size: 0.55rem;
    padding: 2px 6px;
    border-radius: 3px;
    white-space: nowrap;
    letter-spacing: 0.5px;
    font-weight: bold;
}

.schematic-cut-marks .cut-corner {
    position: absolute;
    width: 14px;
    height: 14px;
    border-color: var(--gold-primary);
    border-style: solid;
    pointer-events: none;
}

.cut-corner.tl { top: 6px; left: 6px; border-width: 2px 0 0 2px; }
.cut-corner.tr { top: 6px; right: 6px; border-width: 2px 2px 0 0; }
.cut-corner.bl { bottom: 6px; left: 6px; border-width: 0 0 2px 2px; }
.cut-corner.br { bottom: 6px; right: 6px; border-width: 0 2px 2px 0; }

/* 2. Schéma Vernis Sélectif */
.uvspot-schematic {
    width: 100%;
    max-width: 360px;
}

.uvspot-card-demo {
    background: #151311;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    height: 190px;
    position: relative;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.demo-card-brand {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #4a423a;
}

.uvspot-overlay-mask {
    position: absolute;
    inset: 24px;
    border: 2px solid #ab47bc;
    background: rgba(171, 71, 188, 0.18);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 0 25px rgba(171, 71, 188, 0.35);
}

.spot-glow-badge {
    background: #ab47bc;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.spot-overprint-badge {
    font-size: 0.62rem;
    color: #f3e5f5;
    font-family: monospace;
    letter-spacing: 1px;
}

/* 3. Schéma Layout (Montage en Série & Traits de coupe) */
.layout-schematic {
    width: 100%;
    max-width: 360px;
}

.layout-sheet-visual {
    background: #12100e;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    height: 195px;
    position: relative;
    padding: 16px 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.layout-pose-item {
    background: #191613;
    border: 1px solid rgba(167, 136, 99, 0.35);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 6px;
    position: relative;
}

.layout-pose-inner {
    width: 80%;
    height: 5px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    margin-bottom: 4px;
}

.layout-pose-badge {
    font-size: 0.58rem;
    color: var(--gold-light);
    font-weight: 700;
}

.layout-cut-mark {
    position: absolute;
    background: var(--gold-primary);
    pointer-events: none;
}
.layout-cut-mark.h-top { top: 6px; left: 14px; right: 14px; height: 1px; opacity: 0.45; }
.layout-cut-mark.h-bot { bottom: 6px; left: 14px; right: 14px; height: 1px; opacity: 0.45; }
.layout-cut-mark.v-left { left: 8px; top: 10px; bottom: 10px; width: 1px; opacity: 0.45; }
.layout-cut-mark.v-right { right: 8px; top: 10px; bottom: 10px; width: 1px; opacity: 0.45; }

.layout-tag-pill {
    position: absolute;
    bottom: -10px;
    right: 14px;
    background: #1c1813;
    border: 1px solid var(--gold-primary);
    color: var(--gold-light);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* 4. Schéma AssetShelf (Bibliothèque Locale) */
.asset-schematic {
    width: 100%;
    max-width: 360px;
}

.asset-shelf-board {
    background: #12100e;
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    height: 195px;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.asset-shelf-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 6px;
    margin-bottom: 10px;
}

.asset-shelf-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gold-light);
    letter-spacing: 0.5px;
}

.asset-grid-preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 10px;
}

.asset-chip {
    background: #191613;
    border: 1px solid rgba(167, 136, 99, 0.25);
    border-radius: 6px;
    padding: 7px 4px;
    text-align: center;
    font-size: 0.62rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.asset-chip.active-drag {
    border-color: var(--gold-primary);
    background: rgba(167, 136, 99, 0.15);
    color: var(--gold-light);
    box-shadow: 0 0 12px rgba(167, 136, 99, 0.25);
}

.asset-chip-svg {
    width: 16px;
    height: 16px;
    color: var(--gold-primary);
}

.asset-drop-canvas {
    flex: 1;
    background: #090807;
    border: 1px dashed rgba(167, 136, 99, 0.35);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-dim);
    font-size: 0.7rem;
}

.asset-drop-canvas strong {
    color: var(--gold-light);
}

/* Bandeau d'assurance technique bas de showcase */
.demo-assurance-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 16px 24px;
    background: var(--bg-card);
    border-top: 1px solid var(--border-subtle);
}

@media (max-width: 768px) {
    .demo-assurance-bar {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

.assurance-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.assurance-svg {
    width: 16px;
    height: 16px;
    color: var(--gold-primary);
    flex-shrink: 0;
}

/* ═══ SECTION OUTILS & FONCTIONNALITÉS ═══ */
.tabs-nav {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 26px;
    margin-bottom: 38px;
    flex-wrap: wrap;
}

.tab-btn {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    color: var(--text-muted);
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-btn:hover {
    color: var(--text-main);
    border-color: var(--border-bright);
}

.tab-btn.active {
    background: var(--gold-primary);
    color: #080706;
    border-color: var(--gold-light);
    box-shadow: 0 4px 15px rgba(167, 136, 99, 0.25);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
    gap: 24px;
}

/* ─── CARTE D'OUTIL AVEC BOUTON IDENTIQUE AU PLUGIN ─── */
.tool-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.tool-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-bright);
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}

/* ─── PILIERS D'ATELIER (Mise en avant Bento) ─── */
.tool-card.pillar-tool {
    border-color: rgba(167, 136, 99, 0.45);
    background: linear-gradient(145deg, #1f1b16 0%, #151310 100%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.tool-card.pillar-tool::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--gold-light) 50%, transparent 100%);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.pillar-badge {
    position: absolute;
    top: -10px;
    right: 18px;
    background: linear-gradient(135deg, #f3dcaf 0%, #a78863 100%);
    color: #0b0a08;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 3px 9px;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.check-benefit-svg {
    width: 14px;
    height: 14px;
    color: #26a69a;
    display: inline-block;
    vertical-align: -2px;
    margin-right: 6px;
    flex-shrink: 0;
}

/* Header de la carte reproduisant fidèlement le bouton du plugin */
.plugin-btn-preview {
    display: flex;
    align-items: center;
    background: rgba(22, 20, 17, 0.7);
    border: 1px solid rgba(167, 136, 99, 0.25);
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 16px;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.tool-card:hover .plugin-btn-preview {
    background: rgba(35, 31, 27, 0.85);
    border-color: var(--gold-primary);
}

.plugin-btn-text {
    flex: 1;
    min-width: 0;
}

.plugin-btn-text h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.plugin-btn-text .plugin-btn-sub {
    font-size: 0.72rem;
    color: var(--text-muted);
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.plugin-btn-badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gold-light);
    background: rgba(167, 136, 99, 0.15);
    border: 1px solid rgba(167, 136, 99, 0.3);
    padding: 3px 8px;
    border-radius: 4px;
}

/* ─── ICÔNES OFFICIELLES DU PLUGIN (MASQUES SVG & DÉGRADÉS) ─── */
.tool-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 8px;
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), inset 0 -1px 0 rgba(0,0,0,0.4);
}

.tool-icon::before {
    content: '';
    position: absolute;
    top: -4px;
    right: -4px;
    bottom: -4px;
    left: -4px;
    border-radius: 12px;
    filter: blur(10px);
    opacity: 0.4;
    z-index: 0;
    transition: opacity 0.3s ease;
}

.tool-card:hover .tool-icon::before {
    opacity: 0.8;
}

.tool-icon::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #1a1815;
    opacity: 0.92;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: 18px;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: 18px;
    z-index: 1;
}

/* 1. Grid */
.grid-icon { background: var(--glow-grid); }
.grid-icon::before { background: var(--glow-grid); }
.grid-icon::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cline x1='9' y1='3' x2='9' y2='21'/%3E%3Cline x1='15' y1='3' x2='15' y2='21'/%3E%3Cline x1='3' y1='9' x2='21' y2='9'/%3E%3Cline x1='3' y1='15' x2='21' y2='15'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cline x1='9' y1='3' x2='9' y2='21'/%3E%3Cline x1='15' y1='3' x2='15' y2='21'/%3E%3Cline x1='3' y1='9' x2='21' y2='9'/%3E%3Cline x1='3' y1='15' x2='21' y2='15'/%3E%3C/svg%3E");
}

/* 2. Bento */
.bento-icon { background: var(--glow-bento); }
.bento-icon::before { background: var(--glow-bento); }
.bento-icon::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='9' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='5' rx='1.5'/%3E%3Crect x='14' y='12' width='7' height='9' rx='1.5'/%3E%3Crect x='3' y='16' width='7' height='5' rx='1.5'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='9' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='5' rx='1.5'/%3E%3Crect x='14' y='12' width='7' height='9' rx='1.5'/%3E%3Crect x='3' y='16' width='7' height='5' rx='1.5'/%3E%3C/svg%3E");
}

/* 3. Layout */
.layout-icon { background: var(--glow-layout); }
.layout-icon::before { background: var(--glow-layout); }
.layout-icon::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cpath d='M3 9h18M9 21V9'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cpath d='M3 9h18M9 21V9'/%3E%3C/svg%3E");
}

/* 4. Booklet */
.booklet-icon { background: var(--glow-booklet); }
.booklet-icon::before { background: var(--glow-booklet); }
.booklet-icon::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2zM22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2zM22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z'/%3E%3C/svg%3E");
}

/* 5. Pagination */
.pagination-icon { background: var(--glow-pagination); }
.pagination-icon::before { background: var(--glow-pagination); }
.pagination-icon::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 22V4a2 2 0 0 1 2-2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Ccircle cx='12' cy='14' r='2'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 22V4a2 2 0 0 1 2-2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Ccircle cx='12' cy='14' r='2'/%3E%3C/svg%3E");
}

/* 6. MaskBoard */
.maskboard-icon { background: var(--glow-maskboard); }
.maskboard-icon::before { background: var(--glow-maskboard); }
.maskboard-icon::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2' stroke-dasharray='3 3'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2' stroke-dasharray='3 3'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3C/svg%3E");
}

/* 7. QR Code */
.qr-icon { background: var(--glow-qr); }
.qr-icon::before { background: var(--glow-qr); }
.qr-icon::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='3' height='3' rx='0.5'/%3E%3Crect x='18' y='18' width='3' height='3' rx='0.5'/%3E%3Cpath d='M18 14h3v3M14 18v3h3'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='3' height='3' rx='0.5'/%3E%3Crect x='18' y='18' width='3' height='3' rx='0.5'/%3E%3Cpath d='M18 14h3v3M14 18v3h3'/%3E%3C/svg%3E");
}

/* 8. Palette */
.palette-icon { background: var(--glow-palette); }
.palette-icon::before { background: var(--glow-palette); }
.palette-icon::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22C17.52 22 22 17.52 22 12S17.52 2 12 2 2 6.48 2 12s4.48 10 10 10zm0-18a8 8 0 1 1 0 16 8 8 0 0 1 0-16z'/%3E%3Ccircle cx='7.5' cy='10.5' r='1'/%3E%3Ccircle cx='11.5' cy='7.5' r='1'/%3E%3Ccircle cx='16.5' cy='9.5' r='1'/%3E%3Ccircle cx='15.5' cy='14.5' r='1'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22C17.52 22 22 17.52 22 12S17.52 2 12 2 2 6.48 2 12s4.48 10 10 10zm0-18a8 8 0 1 1 0 16 8 8 0 0 1 0-16z'/%3E%3Ccircle cx='7.5' cy='10.5' r='1'/%3E%3Ccircle cx='11.5' cy='7.5' r='1'/%3E%3Ccircle cx='16.5' cy='9.5' r='1'/%3E%3Ccircle cx='15.5' cy='14.5' r='1'/%3E%3C/svg%3E");
}

/* 9. Gradient */
.gradient-icon { background: var(--glow-gradient); }
.gradient-icon::before { background: var(--glow-gradient); }
.gradient-icon::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='20' rx='4'/%3E%3Cline x1='2' y1='2' x2='22' y2='22'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='20' rx='4'/%3E%3Cline x1='2' y1='2' x2='22' y2='22'/%3E%3C/svg%3E");
}

/* 10. AssetShelf */
.assetshelf-icon { background: var(--glow-assetshelf); }
.assetshelf-icon::before { background: var(--glow-assetshelf); }
.assetshelf-icon::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cline x1='3' y1='9' x2='21' y2='9'/%3E%3Cline x1='3' y1='15' x2='21' y2='15'/%3E%3Cline x1='12' y1='9' x2='12' y2='15'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cline x1='3' y1='9' x2='21' y2='9'/%3E%3Cline x1='3' y1='15' x2='21' y2='15'/%3E%3Cline x1='12' y1='9' x2='12' y2='15'/%3E%3C/svg%3E");
}

/* 11. Pack */
.packlib-icon { background: var(--glow-packlib); }
.packlib-icon::before { background: var(--glow-packlib); }
.packlib-icon::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z'/%3E%3Cpolyline points='3.27 6.96 12 12.01 20.73 6.96'/%3E%3Cline x1='12' y1='22.08' x2='12' y2='12'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z'/%3E%3Cpolyline points='3.27 6.96 12 12.01 20.73 6.96'/%3E%3Cline x1='12' y1='22.08' x2='12' y2='12'/%3E%3C/svg%3E");
}

/* 12. UV Spot */
.uvspot-icon { background: var(--glow-uvspot); }
.uvspot-icon::before { background: var(--glow-uvspot); }
.uvspot-icon::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22a7 7 0 0 0 7-7c0-4.3-7-13-7-13S5 10.7 5 15a7 7 0 0 0 7 7z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22a7 7 0 0 0 7-7c0-4.3-7-13-7-13S5 10.7 5 15a7 7 0 0 0 7 7z'/%3E%3C/svg%3E");
}

/* Upscayl — Violet IA & Résolution */
.upscayl-icon { background: var(--glow-upscayl); }
.upscayl-icon::before { background: var(--glow-upscayl); }
.upscayl-icon::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3-1.9 5.8a2 2 0 0 1-1.3 1.3L3 12l5.8 1.9a2 2 0 0 1 1.3 1.3L12 21l1.9-5.8a2 2 0 0 1 1.3-1.3L21 12l-5.8-1.9a2 2 0 0 1-1.3-1.3Z'/%3E%3Cpath d='M19 3v4M17 5h4' stroke-width='1.5'/%3E%3Cpath d='M5 19v2M4 20h2' stroke-width='1.5'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3-1.9 5.8a2 2 0 0 1-1.3 1.3L3 12l5.8 1.9a2 2 0 0 1 1.3 1.3L12 21l1.9-5.8a2 2 0 0 1 1.3-1.3L21 12l-5.8-1.9a2 2 0 0 1-1.3-1.3Z'/%3E%3Cpath d='M19 3v4M17 5h4' stroke-width='1.5'/%3E%3Cpath d='M5 19v2M4 20h2' stroke-width='1.5'/%3E%3C/svg%3E");
}

/* 13. Nesting */
.nesting-icon { background: var(--glow-nesting); }
.nesting-icon::before { background: var(--glow-nesting); }
.nesting-icon::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='20' rx='2' stroke-dasharray='4 2'/%3E%3Crect x='5' y='5' width='6' height='5' rx='1'/%3E%3Crect x='13' y='5' width='6' height='7' rx='1'/%3E%3Crect x='5' y='12' width='6' height='7' rx='1'/%3E%3Crect x='13' y='14' width='6' height='5' rx='1'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='20' rx='2' stroke-dasharray='4 2'/%3E%3Crect x='5' y='5' width='6' height='5' rx='1'/%3E%3Crect x='13' y='5' width='6' height='7' rx='1'/%3E%3Crect x='5' y='12' width='6' height='7' rx='1'/%3E%3Crect x='13' y='14' width='6' height='5' rx='1'/%3E%3C/svg%3E");
}

/* 15. Typo Audit */
.typoaudit-icon { background: var(--glow-typoaudit); }
.typoaudit-icon::before { background: var(--glow-typoaudit); }
.typoaudit-icon::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 7 4 4 20 4 20 7'/%3E%3Cline x1='9' y1='20' x2='15' y2='20'/%3E%3Cline x1='12' y1='4' x2='12' y2='20'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 7 4 4 20 4 20 7'/%3E%3Cline x1='9' y1='20' x2='15' y2='20'/%3E%3Cline x1='12' y1='4' x2='12' y2='20'/%3E%3C/svg%3E");
}

/* 16. Export */
.export-icon { background: var(--glow-export); }
.export-icon::before { background: var(--glow-export); }
.export-icon::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8M16 6l-4-4-4 4M12 2v13'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8M16 6l-4-4-4 4M12 2v13'/%3E%3C/svg%3E");
}

.tool-desc {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.tool-benefit {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--gold-light);
    border-top: 1px dashed var(--border-subtle);
    padding-top: 12px;
}

/* ═══ SECTION BÉNÉFICES CONCRETS ═══ */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.benefit-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 28px;
    text-align: left;
}

.benefit-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--gold-light);
    margin-bottom: 8px;
}

.benefit-title {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.benefit-desc {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ═══ SECTION INSTALLATION & COMPATIBILITÉ ═══ */
.install-box {
    max-width: 860px;
    margin: 28px auto 0;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.install-tabs {
    display: flex;
    background: #0f0e0c;
    border-bottom: 1px solid var(--border-subtle);
}

.install-tab-btn {
    flex: 1;
    padding: 16px 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.install-tab-btn.active {
    color: var(--gold-light);
    background: var(--bg-surface);
    border-bottom: 2px solid var(--gold-primary);
}

.install-content {
    padding: 36px;
}

.step-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.step-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.step-index {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--gold-primary);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.step-info h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.step-info p {
    font-size: 0.88rem;
}

.code-snippet {
    background: #0a0908;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--gold-light);
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copy-btn {
    background: rgba(255,255,255,0.08);
    border: none;
    color: var(--text-main);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: background 0.2s;
}

.copy-btn:hover {
    background: var(--gold-primary);
    color: #080706;
}

/* ═══ SECTION FAQ ═══ */
.faq-list {
    max-width: 800px;
    margin: 28px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item:hover {
    border-color: var(--border-bright);
}

.faq-question {
    padding: 20px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-icon {
    color: var(--gold-light);
    transition: transform 0.25s ease;
    font-size: 0.9rem;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px 20px 24px;
    font-size: 0.93rem;
    line-height: 1.65;
    color: var(--text-muted);
    display: none;
}

.faq-item.open .faq-answer {
    display: block;
}

/* ═══ FOOTER ═══ */
.site-footer {
    background: #060504;
    border-top: 1px solid var(--border-subtle);
    padding: 60px 0 30px 0;
    margin-top: 60px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 36px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 360px;
}

.footer-brand p {
    font-size: 0.88rem;
    margin-top: 12px;
}

.footer-links-group h4 {
    font-size: 0.95rem;
    margin-bottom: 14px;
    color: var(--gold-light);
}

.footer-links-group ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links-group a {
    font-size: 0.86rem;
    color: var(--text-muted);
}

.footer-links-group a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 24px;
    font-size: 0.82rem;
    color: var(--text-dim);
}

.toast-msg {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--bg-card);
    border: 1px solid var(--gold-primary);
    color: var(--gold-light);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: var(--shadow-soft);
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-msg.show {
    transform: translateY(0);
    opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — TABLETTE UNIQUEMENT (769px → 1024px)
   Utilisation de min-width pour ne pas affecter le mobile
   ═══════════════════════════════════════════════════════════════════════════ */
@media (min-width: 769px) and (max-width: 1024px) {

    /* ─── Pricing : 3 col → 2 col (tablette seulement) ─── */
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* La carte featured occupe toute la largeur en 2e ligne */
    .pricing-card.featured {
        transform: none;
        grid-column: span 2;
    }

    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }

    /* ROI banner : 3 col → 2 col */
    .pricing-roi-banner {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Trust grid : 3 → 2 */
    .trust-methods-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Hero : réduire légèrement la typo */
    .hero-title {
        font-size: 2.4rem;
    }

    /* Nav links moins espacés */
    .nav-links {
        gap: 18px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 768px)
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    body, html {
        overflow-x: hidden;
        width: 100%;
    }

    .container {
        padding: 0 16px;
    }

    /* ─── Navbar + Hamburger Menu ─── */
    .navbar {
        height: 60px;
        position: relative;
    }

    /* Bouton Hamburger */
    .nav-hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 40px;
        height: 40px;
        background: var(--bg-card);
        border: 1px solid var(--border-subtle);
        border-radius: var(--radius-sm);
        cursor: pointer;
        z-index: 1100;
        flex-shrink: 0;
    }

    .nav-hamburger span {
        display: block;
        width: 20px;
        height: 2px;
        background: var(--text-main);
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .nav-hamburger.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-hamburger.open span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .nav-hamburger.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Menu mobile déroulant */
    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(8, 7, 6, 0.97);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--border-subtle);
        padding: 12px 20px 24px;
        gap: 0;
        z-index: 1050;
        transform: translateY(-120%);
        opacity: 0;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
        pointer-events: none;
    }

    .nav-links.mobile-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links li {
        border-bottom: 1px solid var(--border-subtle);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-link {
        display: block;
        padding: 14px 4px;
        font-size: 1rem;
        width: 100%;
    }

    .nav-link::after {
        display: none;
    }

    /* Masquer le bouton CTA desktop dans la navbar sur mobile */
    .nav-actions {
        display: none;
    }

    /* ─── Badge "Suite V4.0" : réduire sur mobile ─── */
    .brand-logo .suite-tag {
        font-size: 0.65rem;
        padding: 2px 5px;
        margin-left: -2px;
        letter-spacing: 0px;
    }

    /* ─── Logo texte : un peu plus petit ─── */
    .brand-logo img.logo-text {
        height: 18px;
    }

    .brand-logo img.logo-icon {
        height: 32px;
    }

    /* ─── Carte Featured : padding-top pour ne pas couper le ribbon ─── */
    .pricing-card.featured {
        transform: none !important;
        grid-column: span 1 !important;
        border-width: 2px;
        padding-top: 32px; /* Espace suffisant pour le ribbon absolu */
        overflow: visible !important; /* Le ribbon doit être visible hors de la carte */
    }

    /* Le pricing-grid doit avoir un padding-top pour que le ribbon ne soit pas coupé */
    .pricing-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
        padding-top: 14px; /* Espace pour le ribbon de la carte featured */
    }


    .hero-section {
        padding-top: 90px !important;
        padding-bottom: 40px;
    }

    .hero-title {
        font-size: 1.6rem;
        line-height: 1.28;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        font-size: 0.9rem;
        padding: 12px 18px;
    }

    .hero-specs {
        flex-wrap: wrap;
        gap: 8px 10px;
        justify-content: center;
        font-size: 0.74rem;
        margin-top: 18px;
    }

    .hero-preview {
        margin-top: 24px;
        width: 100%;
        overflow: hidden;
        border-radius: 10px;
    }

    .preview-bar {
        padding: 7px 10px;
    }

    .preview-title {
        font-size: 0.65rem;
    }

    /* ─── Image hero (screenshot de la Suite) ─── */
    .preview-body-image {
        overflow: hidden;
    }

    .preview-body-image img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: contain !important;
    }

    /* ─── Sections générales ─── */
    .section {
        padding: 44px 0;
    }

    .section-title {
        font-size: 1.35rem;
    }

    .section-desc {
        font-size: 0.87rem;
    }

    /* ─── Onglets des catégories d'outils : scroll horizontal tactile ─── */
    .tabs-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        padding-bottom: 6px;
        margin-bottom: 18px;
        scrollbar-width: none;
    }

    .tabs-nav::-webkit-scrollbar {
        display: none;
    }

    .tab-btn {
        flex-shrink: 0;
        white-space: nowrap;
        font-size: 0.78rem;
        padding: 7px 13px;
    }

    /* ─── Grille des 15 outils ─── */
    .tools-grid {
        grid-template-columns: 1fr !important;
        gap: 12px;
        width: 100%;
    }

    .tool-card {
        padding: 16px;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .plugin-btn-preview {
        padding: 8px 10px;
        gap: 8px;
        width: 100%;
        box-sizing: border-box;
        flex-wrap: wrap;
    }

    .plugin-btn-text h3 {
        font-size: 0.92rem;
    }

    .plugin-btn-sub {
        font-size: 0.7rem;
    }

    .plugin-btn-badge {
        font-size: 0.62rem;
        padding: 2px 6px;
        position: static;
        margin-left: auto;
    }

    /* ─── Bénéfices ─── */
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .benefit-card {
        padding: 18px;
    }

    /* ─── Installation ─── */
    .install-box {
        /* Le padding est sur .install-content, pas ici */
        overflow: hidden;
    }

    .install-tabs {
        flex-direction: row; /* Garder côte à côte sur mobile */
    }

    .install-tab-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 10px;
        font-size: 0.85rem;
        gap: 6px;
    }

    .install-content {
        padding: 20px 16px;
    }

    /* ─── Vidéo : ratio correct, pas d'étirement ─── */
    .video-card {
        width: 100%;
        overflow: hidden;
    }

    .video-player-wrapper {
        width: 100%;
        aspect-ratio: 16 / 9;
        overflow: hidden;
    }

    .video-player-wrapper video {
        width: 100%;
        height: 100%;
        object-fit: contain !important;
    }

    .video-placeholder {
        padding: 20px 14px;
    }

    .video-info-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 14px;
    }

    .video-tags {
        flex-wrap: wrap;
        gap: 8px;
    }

    .video-tag-item {
        font-size: 0.73rem;
    }

    /* ─── FAQ ─── */
    .faq-question {
        font-size: 0.9rem;
        padding: 14px;
    }

    .faq-answer {
        font-size: 0.85rem;
        padding: 0 14px 14px;
    }

    /* ─── Footer ─── */
    .footer-content {
        flex-direction: column;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    /* ─── Tarifs Responsive (mobile ≤ 768px) ─── */
    .pricing-roi-banner {
        grid-template-columns: 1fr !important;
        gap: 12px;
        padding: 16px;
    }

    .roi-item {
        gap: 10px;
    }

    .roi-icon {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .roi-text strong {
        font-size: 0.9rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    .pricing-card {
        padding: 22px 18px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    /* Annuler le span:2 et scale du tablette */
    .pricing-card.featured {
        transform: none !important;
        grid-column: span 1 !important;
        border-width: 2px;
    }

    .pricing-card.featured:hover {
        transform: translateY(-4px) !important;
    }

    /* Ribbon : permettre le retour à la ligne sur mobile */
    .featured-ribbon {
        font-size: 0.66rem;
        padding: 4px 10px;
        top: -12px;
        white-space: normal;
        text-align: center;
        max-width: 90%;
        line-height: 1.3;
    }

    /* Prix : réduire l'amount pour éviter le débordement */
    .plan-price .amount {
        font-size: 2.4rem;
    }

    .plan-price .currency {
        font-size: 1.1rem;
    }

    .plan-name {
        font-size: 1.2rem;
    }

    /* Boutons WhatsApp pleine largeur bien visibles */
    .btn-whatsapp,
    .btn-whatsapp-featured {
        padding: 13px 14px;
        font-size: 0.85rem;
        gap: 8px;
        width: 100%;
        box-sizing: border-box;
    }

    .btn-whatsapp svg,
    .btn-whatsapp-featured svg {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }

    /* Trust box */
    .pricing-trust-box {
        padding: 18px 16px;
    }

    .trust-methods-grid {
        grid-template-columns: 1fr !important;
        gap: 10px;
        width: 100%;
    }

    .trust-method-card {
        padding: 12px 14px;
        gap: 10px;
        width: 100%;
        box-sizing: border-box;
        min-width: 0; /* Empêche la carte de s'étirer au-delà du grid */
    }

    .pricing-trust-box {
        padding: 18px 16px;
        overflow: hidden; /* Empêche tout débordement */
        width: 100%;
        box-sizing: border-box;
    }

    /* Texte section tarifs */
    .section-desc br {
        display: none;
    }

    /* WhatsApp float */
    .whatsapp-float {
        bottom: 18px;
        right: 18px;
        width: 54px;
        height: 54px;
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }

    .whatsapp-float-tooltip {
        display: none;
    }

    /* ─── Ajout CTA dans le menu mobile ─── */
    .nav-mobile-cta {
        display: block;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid var(--border-subtle);
    }

    .nav-mobile-cta .btn {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
        font-size: 0.95rem;
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   HERO REASSURANCE
   ═══════════════════════════════════════════════════════════════════════════ */

.hero-reassurance {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 18px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.hero-reassurance span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(167, 136, 99, 0.08);
    border: 1px solid var(--border-subtle);
    padding: 6px 14px;
    border-radius: var(--radius-full);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SECTION TARIFS MAROC (PRICING)
   ═══════════════════════════════════════════════════════════════════════════ */
.pricing-section {
    position: relative;
    overflow: hidden; /* Empêche tout débordement horizontal */
}

/* Bandeau ROI */
.pricing-roi-banner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    margin-top: 26px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-soft);
}

.roi-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.roi-icon {
    font-size: 1.8rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(167, 136, 99, 0.12);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.roi-text strong {
    display: block;
    color: var(--gold-light);
    font-size: 1rem;
    font-family: var(--font-heading);
}

.roi-text p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.3;
}

/* Grille des Cartes */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
    margin-bottom: 40px;
    width: 100%; /* Sécurité anti-débordement */
    box-sizing: border-box;
}


.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-bright);
    box-shadow: var(--shadow-soft);
}

/* Carte Star / Featured */
.pricing-card.featured {
    background: linear-gradient(180deg, #1f1a14 0%, #161310 100%);
    border: 2px solid var(--gold-primary);
    box-shadow: 0 10px 40px rgba(167, 136, 99, 0.25);
    transform: scale(1.03);
    z-index: 2;
}

.pricing-card.featured:hover {
    transform: scale(1.03) translateY(-4px);
    box-shadow: 0 14px 48px rgba(167, 136, 99, 0.35);
}

.featured-ribbon {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f3dcaf 0%, #a78863 100%);
    color: #080706;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 5px 16px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
}

.pricing-card-header {
    text-align: center;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 24px;
}

.plan-badge {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background: rgba(167, 136, 99, 0.12);
    color: var(--gold-light);
    margin-bottom: 12px;
}

.featured-badge {
    background: rgba(243, 220, 175, 0.2);
    color: var(--gold-light);
    border: 1px solid rgba(243, 220, 175, 0.3);
}

.plan-name {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
}

.plan-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    margin-bottom: 8px;
}

.plan-price .currency {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold-light);
}

.plan-price .amount {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
    letter-spacing: -1px;
}

.plan-price .period {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.plan-cost-per-pc {
    display: inline-block;
    font-size: 0.82rem;
    color: var(--gold-light);
    background: rgba(167, 136, 99, 0.15);
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}

.plan-renewal {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.plan-renewal strong {
    color: var(--text-main);
}

.discount-pill {
    display: inline-block;
    background: #1e7e34;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.72rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 4px;
}

/* Caractéristiques du plan */
.plan-features {
    list-style: none;
    margin-bottom: 28px;
    flex-grow: 1;
}

.plan-features li {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.45;
}

.plan-features li strong {
    color: var(--text-main);
}

.f-check {
    color: #25D366;
    font-weight: 800;
    font-size: 1rem;
    line-height: 1.2;
    flex-shrink: 0;
}

.plan-note {
    font-size: 0.8rem;
    background: rgba(167, 136, 99, 0.08);
    border: 1px dashed var(--border-subtle);
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    margin-top: 14px;
    color: var(--gold-light) !important;
}

/* Boutons de commande WhatsApp */
.pricing-card-action {
    margin-top: auto;
}

.btn-whatsapp {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.4);
    color: #4ade80;
    font-size: 0.92rem;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    transition: all 0.25s ease;
}

.btn-whatsapp:hover {
    background: #25D366;
    color: #080706;
    border-color: #25D366;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
    transform: translateY(-2px);
}

.btn-whatsapp-featured {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    border: 1px solid #25D366;
    color: #080706;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.25s ease;
}

.btn-whatsapp-featured:hover {
    background: #20ba59;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55);
    transform: translateY(-2px);
    color: #ffffff;
}

/* Bloc Confiance / Moyens de paiement Maroc */
.pricing-trust-box {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px 32px;
    text-align: center;
}

.trust-badge-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold-light);
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    background: rgba(167, 136, 99, 0.1);
    padding: 6px 16px;
    border-radius: var(--radius-full);
}

.trust-methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

.trust-method-card {
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(167, 136, 99, 0.1);
    padding: 14px 18px;
    border-radius: var(--radius-md);
    min-width: 0; /* Empêche le débordement grid */
    box-sizing: border-box;
}

.method-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.method-details h4 {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 2px;
}

.method-details p {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0;
}

/* Footer WhatsApp Link */
.footer-wa-link {
    color: #4ade80 !important;
    font-weight: 600;
}

.footer-wa-link:hover {
    text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════════════════════
   BOUTON FLOTTANT WHATSAPP
   ═══════════════════════════════════════════════════════════════════════════ */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 62px;
    height: 62px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    z-index: 9999;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    cursor: pointer;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    opacity: 0.6;
    animation: wa-pulse 2s infinite ease-out;
    z-index: -1;
}

@keyframes wa-pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.whatsapp-float-tooltip {
    position: absolute;
    right: 74px;
    background: #181512;
    color: #ffffff;
    border: 1px solid var(--border-bright);
    padding: 8px 14px;
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.25s ease;
}



.whatsapp-float:hover .whatsapp-float-tooltip {
    opacity: 1;
    transform: translateX(0);
}


/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — TRÈS PETITS ÉCRANS (≤ 380px)
   iPhone SE, Galaxy A series, etc.
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 380px) {

    .hero-title {
        font-size: 1.4rem;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .hero-reassurance {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .hero-reassurance span {
        justify-content: center;
        text-align: center;
        font-size: 0.78rem;
        padding: 8px 12px;
    }

    /* Prix encore plus petits */
    .plan-price .amount {
        font-size: 2rem;
    }

    .plan-price .currency {
        font-size: 1rem;
    }

    /* Bouton hero full width */
    .hero-buttons .btn {
        font-size: 0.85rem;
        padding: 11px 14px;
    }

    /* Retirer la carte featured à largeur pleine */
    .pricing-card {
        padding: 18px 14px;
    }

    /* CTA pricing plus petits */
    .btn-whatsapp,
    .btn-whatsapp-featured {
        font-size: 0.8rem;
        padding: 12px 10px;
    }

    /* Benefit card */
    .benefit-number {
        font-size: 1.8rem;
    }
}
