:root {
            /* Primary Colors */
            --scouting-purple: #622599;
            --canvas-white: #ffffff;
            --midnight-purple: #4d006e;
            
            /* Secondary Colors - Nature */
            --ocean-blue: #0094b4;
            --river-blue: #82e6de;
            --forest-green: #248737;
            --leaf-green: #9fed8f;
            
            /* Secondary Colors - Warm */
            --blossom-pink: #ff8dff;
            --fire-red: #ff5655;
            --ember-orange: #ffae80;
            --sunrise-yellow: #fcd116;
            
            /* Extended Palette - Earth Tones */
            --sand-beige: #e8d5b7;
            --desert-gold: #d4a84b;
            --clay-brown: #8b5a2b;
            --mountain-gray: #6b7280;
            
            /* Extended Palette - Sky Tones */
            --sky-blue: #87ceeb;
            --twilight-indigo: #4b0082;
            --dawn-coral: #ff7f7f;
            --dusk-lavender: #b794f6;
            
            /* UI Colors */
            --bg-light: #f8f7fc;
            --text-dark: #1a1a2e;
            --border-light: #e5e5e5;
        }

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

        body {
            font-family: 'Noto Sans', sans-serif;
            background: var(--bg-light);
            color: var(--text-dark);
            line-height: 1.6;
        }

        /* Header */
        .header {
            background: linear-gradient(135deg, var(--scouting-purple) 0%, var(--midnight-purple) 100%);
            color: white;
            padding: 2rem;
            position: relative;
            overflow: hidden;
        }

        .header::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 400px;
            height: 400px;
            background: rgba(255,255,255,0.05);
            border-radius: 50%;
        }

        .header::after {
            content: '';
            position: absolute;
            bottom: -30%;
            left: -10%;
            width: 300px;
            height: 300px;
            background: rgba(255,255,255,0.03);
            border-radius: 50%;
        }

        .header-content {
            max-width: 1400px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .brand-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: rgba(255,255,255,0.15);
            padding: 0.5rem 1rem;
            border-radius: 50px;
            font-size: 0.85rem;
            margin-bottom: 1rem;
            backdrop-filter: blur(10px);
        }

        .header h1 {
            font-size: clamp(2rem, 5vw, 3.5rem);
            font-weight: 800;
            margin-bottom: 0.5rem;
            letter-spacing: -1px;
        }

        .tagline {
            font-size: 1.25rem;
            opacity: 0.9;
            font-weight: 300;
        }

        .tagline-translations {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin-top: 1rem;
            font-size: 0.9rem;
            opacity: 0.7;
        }

        .tagline-translations span {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: rgba(255,255,255,0.1);
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-family: 'Noto Sans', sans-serif;
        }

        .tagline-translations span img {
            width: 20px;         /* taille du drapeau */
            height: 20px;
            border-radius: 3px;   /* optionnel */
            object-fit: cover; 
        }


        /* Navigation Tabs */
        .nav-tabs {
            background: white;
            box-shadow: 0 2px 20px rgba(0,0,0,0.08);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .nav-tabs-inner {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            gap: 0;
            overflow-x: auto;
            scrollbar-width: none;
        }

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

        .nav-tab {
            padding: 1rem 1.5rem;
            border: none;
            background: transparent;
            font-family: inherit;
            font-size: 0.95rem;
            font-weight: 500;
            color: #666;
            cursor: pointer;
            transition: all 0.3s;
            white-space: nowrap;
            position: relative;
        }

        .nav-tab:hover {
            color: var(--scouting-purple);
        }

        .nav-tab.active {
            color: var(--scouting-purple);
        }

        .nav-tab.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: var(--scouting-purple);
            border-radius: 3px 3px 0 0;
        }

        /* Main Content */
        .main-content {
            max-width: 1400px;
            margin: 0 auto;
            padding: 2rem;
        }

        .section {
            display: none;
        }

        .section.active {
            display: block;
            animation: fadeIn 0.4s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Section Headers */
        .section-header {
            margin-bottom: 2rem;
        }

        .section-header h2 {
            font-size: 1.75rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }

        .section-header p {
            color: #666;
        }

        /* Color Grid */
        .color-categories {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
            margin-bottom: 1.5rem;
        }

        .category-btn {
            padding: 0.5rem 1rem;
            border: 2px solid var(--border-light);
            background: white;
            border-radius: 25px;
            font-family: inherit;
            font-size: 0.85rem;
            cursor: pointer;
            transition: all 0.3s;
        }

        .category-btn:hover, .category-btn.active {
            border-color: var(--scouting-purple);
            background: var(--scouting-purple);
            color: white;
        }

        .color-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 1.5rem;
        }

        .color-card {
            background: white;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            transition: all 0.3s;
            cursor: pointer;
        }

        .color-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 40px rgba(0,0,0,0.15);
        }

        .color-preview {
            height: 140px;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .color-preview .copy-hint {
            position: absolute;
            background: rgba(0,0,0,0.7);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 25px;
            font-size: 0.8rem;
            opacity: 0;
            transition: opacity 0.3s;
        }

        .color-card:hover .copy-hint {
            opacity: 1;
        }

        .color-info {
            padding: 1.25rem;
        }

        .color-name {
            font-weight: 700;
            font-size: 1.1rem;
            margin-bottom: 0.75rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .color-badge {
            font-size: 0.65rem;
            background: var(--scouting-purple);
            color: white;
            padding: 0.2rem 0.5rem;
            border-radius: 10px;
            font-weight: 600;
        }

        .color-badge.extended {
            background: var(--ocean-blue);
        }

        .color-values {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.5rem;
            font-size: 0.85rem;
        }

        .color-value {
            display: flex;
            flex-direction: column;
        }

        .color-value label {
            font-size: 0.7rem;
            color: #999;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .color-value span {
            font-family: 'Courier New', monospace;
            font-weight: 600;
        }

        /* Combination Generator */
        .combo-section {
            background: white;
            border-radius: 20px;
            padding: 2rem;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            margin-bottom: 2rem;
        }

        .combo-preview {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin: 2rem 0;
        }

        .combo-card {
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }

        .combo-card-header {
            padding: 2rem;
            min-height: 120px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .combo-card-header h3 {
            font-size: 1.5rem;
            font-weight: 700;
        }

        .combo-card-body {
            padding: 1.5rem;
        }

        .combo-card-body p {
            margin-bottom: 1rem;
            line-height: 1.7;
        }

        .combo-colors {
            display: flex;
            gap: 0.5rem;
            margin-top: 1rem;
        }

        .combo-color-dot {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            border: 2px solid white;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        }

        .generate-btn {
            background: linear-gradient(135deg, var(--scouting-purple), var(--midnight-purple));
            color: white;
            border: none;
            padding: 1rem 2rem;
            border-radius: 12px;
            font-family: inherit;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .generate-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 8px 25px rgba(98, 37, 153, 0.4);
        }

        /* Preset Combinations */
        .preset-combos {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 1.5rem;
            margin-top: 2rem;
        }

        .preset-combo {
            background: white;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0,0,0,0.08);
            transition: all 0.3s;
        }

        .preset-combo:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.12);
        }

        .preset-combo-preview {
            display: flex;
            height: 100px;
        }

        .preset-combo-preview > div {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 0.75rem;
        }

        .preset-combo-info {
            padding: 1.25rem;
        }

        .preset-combo-info h4 {
            font-size: 1rem;
            margin-bottom: 0.5rem;
        }

        .preset-combo-info p {
            font-size: 0.85rem;
            color: #666;
            margin-bottom: 0.75rem;
        }

        .preset-combo-info .usage-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .usage-tag {
            font-size: 0.7rem;
            padding: 0.25rem 0.5rem;
            background: var(--bg-light);
            border-radius: 12px;
            color: #666;
        }

        /* Accessibility Checker */
        .a11y-tool {
            background: white;
            border-radius: 20px;
            padding: 2rem;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
        }

        .a11y-picker {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            margin: 2rem 0;
        }

        .picker-group label {
            display: block;
            font-weight: 600;
            margin-bottom: 0.75rem;
        }

        .picker-options {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .picker-option {
            width: 50px;
            height: 50px;
            border-radius: 12px;
            border: 3px solid transparent;
            cursor: pointer;
            transition: all 0.2s;
        }

        .picker-option:hover {
            transform: scale(1.1);
        }

        .picker-option.selected {
            border-color: var(--text-dark);
            box-shadow: 0 0 0 3px rgba(0,0,0,0.1);
        }

        .a11y-result {
            background: var(--bg-light);
            border-radius: 16px;
            padding: 2rem;
            margin-top: 2rem;
        }

        .a11y-preview {
            padding: 2rem;
            border-radius: 12px;
            text-align: center;
            margin-bottom: 1.5rem;
        }

        .a11y-preview h3 {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
        }

        .a11y-scores {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 1rem;
        }

        .a11y-score {
            text-align: center;
            padding: 1rem;
            background: white;
            border-radius: 12px;
        }

        .a11y-score .ratio {
            font-size: 1.5rem;
            font-weight: 700;
        }

        .a11y-score .label {
            font-size: 0.85rem;
            color: #666;
            margin-top: 0.25rem;
        }

        .a11y-score .status {
            display: inline-block;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            margin-top: 0.5rem;
        }

        .status.pass { background: #d4edda; color: #155724; }
        .status.fail { background: #f8d7da; color: #721c24; }

        /* WCAG Guidelines */
        .wcag-info {
            background: white;
            border-radius: 20px;
            padding: 2rem;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            margin-top: 2rem;
        }

        .wcag-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
            margin-top: 1.5rem;
        }

        .wcag-card {
            padding: 1.5rem;
            background: var(--bg-light);
            border-radius: 12px;
            border-left: 4px solid var(--scouting-purple);
        }

        .wcag-card h4 {
            font-size: 1rem;
            margin-bottom: 0.5rem;
            color: var(--scouting-purple);
        }

        .wcag-card p {
            font-size: 0.9rem;
            color: #666;
        }

        /* Export Panel */
        .export-panel {
            background: white;
            border-radius: 20px;
            padding: 2rem;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
        }

        .export-formats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
            margin: 1.5rem 0;
        }

        .export-btn {
            padding: 1rem;
            border: 2px solid var(--border-light);
            background: white;
            border-radius: 12px;
            font-family: inherit;
            cursor: pointer;
            transition: all 0.3s;
            text-align: left;
        }

        .export-btn:hover {
            border-color: var(--scouting-purple);
            background: rgba(98, 37, 153, 0.05);
        }

        .export-btn h4 {
            font-size: 1rem;
            margin-bottom: 0.25rem;
        }

        .export-btn p {
            font-size: 0.8rem;
            color: #666;
        }

        .code-preview {
            background: #1e1e2e;
            border-radius: 12px;
            padding: 1.5rem;
            margin-top: 1.5rem;
            overflow-x: auto;
            position: relative;
        }

        .code-preview pre {
            color: #cdd6f4;
            font-family: 'Courier New', monospace;
            font-size: 0.85rem;
            line-height: 1.6;
            margin: 0;
        }

        .code-preview .keyword { color: #cba6f7; }
        .code-preview .property { color: #89b4fa; }
        .code-preview .value { color: #a6e3a1; }
        .code-preview .comment { color: #6c7086; }

        .copy-code-btn {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: rgba(255,255,255,0.1);
            border: none;
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 8px;
            font-size: 0.8rem;
            cursor: pointer;
            transition: all 0.3s;
        }

        .copy-code-btn:hover {
            background: rgba(255,255,255,0.2);
        }

        /* Brand Info Section */
        .brand-info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.5rem;
        }

        .info-card {
            background: white;
            border-radius: 16px;
            padding: 1.5rem;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
        }

        .info-card-icon {
            width: 50px;
            height: 50px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            margin-bottom: 1rem;
        }

        .info-card h3 {
            font-size: 1.1rem;
            margin-bottom: 0.75rem;
        }

        .info-card p {
            font-size: 0.9rem;
            color: #666;
            line-height: 1.7;
        }

        /* Typography Preview */
        .typo-preview {
            background: white;
            border-radius: 20px;
            padding: 2rem;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            margin-top: 1.5rem;
        }

        .typo-sample {
            margin: 2rem 0;
        }

        .typo-sample h3 {
            font-size: 2.5rem;
            font-weight: 800;
            margin-bottom: 0.5rem;
        }

        .typo-weights {
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
            margin-top: 1.5rem;
        }

        .typo-weight {
            flex: 1;
            min-width: 150px;
        }

        .typo-weight .label {
            font-size: 0.75rem;
            color: #999;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 0.5rem;
        }

        /* Logo Usage */
        .logo-section {
            background: white;
            border-radius: 20px;
            padding: 2rem;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            margin-top: 1.5rem;
        }

        .logo-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            margin-top: 1.5rem;
        }


.logo-img {
  width: 80px;
  height: auto;
  display: block;
  margin: 0 auto 10px;
  object-fit: contain;
}


        .logo-example {
            padding: 2rem;
            border-radius: 12px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            min-height: 150px;
        }

        .logo-example svg {
            width: 80px;
            height: 80px;
            margin-bottom: 1rem;
        }

        .logo-example span {
            font-size: 0.85rem;
            font-weight: 500;
        }

        /* Toast Notification */
        .toast {
            position: fixed;
            bottom: 2rem;
            left: 50%;
            transform: translateX(-50%) translateY(100px);
            background: var(--text-dark);
            color: white;
            padding: 1rem 2rem;
            border-radius: 12px;
            font-weight: 500;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
            transition: transform 0.3s ease;
            z-index: 1000;
        }

        .toast.show {
            transform: translateX(-50%) translateY(0);
        }

        /* Modal */
        .modal-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.5);
            backdrop-filter: blur(5px);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 200;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s;
        }

        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .modal {
            background: white;
            border-radius: 24px;
            max-width: 500px;
            width: 90%;
            max-height: 90vh;
            overflow-y: auto;
            transform: scale(0.9);
            transition: transform 0.3s;
        }

        .modal-overlay.active .modal {
            transform: scale(1);
        }

        .modal-header {
            padding: 2rem 2rem 0;
        }

        .modal-color-preview {
            height: 150px;
            border-radius: 16px;
            margin-bottom: 1.5rem;
        }

        .modal-body {
            padding: 0 2rem 2rem;
        }

        .modal-close {
            position: absolute;
            top: 1rem;
            right: 1rem;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border: none;
            background: rgba(255,255,255,0.9);
            cursor: pointer;
            font-size: 1.25rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .copy-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1rem;
            background: var(--bg-light);
            border-radius: 12px;
            margin-bottom: 0.75rem;
            cursor: pointer;
            transition: background 0.2s;
        }

        .copy-row:hover {
            background: #eee;
        }

        .copy-row .label {
            font-size: 0.75rem;
            color: #999;
            text-transform: uppercase;
        }

        .copy-row .value {
            font-family: 'Courier New', monospace;
            font-weight: 600;
        }

        .copy-row .copy-icon {
            color: var(--scouting-purple);
        }

 

        /* Responsive */
        @media (max-width: 768px) {
            .header {
                padding: 1.5rem;
            }
            
            .main-content {
                padding: 1rem;
            }
            
            .a11y-picker {
                grid-template-columns: 1fr;
            }
            
            .combo-preview {
                grid-template-columns: 1fr;
            }

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