/* Feuille partagee, extraite de 2 pages le 2026-07-25.
   Modifier ICI, plus dans chaque page. */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
        /* tokens : voir assets/tokens.css */
        html { scroll-behavior: smooth; }
        body { font-family: var(--f-body); background: var(--paper); color: var(--white); line-height: 1.8; overflow-x: hidden; }

        /* NAV */
        .nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 16px 0; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(20px); border-bottom: 1px solid var(--hair); }
        .nav-inner { max-width: 860px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
        .nav-logo { font-size: 1.3rem; font-weight: 800; text-decoration: none; color: var(--white); }
        .nav-logo .accent { color: var(--gold); }
        .nav-links { display: flex; gap: 20px; align-items: center; }
        .nav-links a { text-decoration: none; color: var(--white-dim); font-size: 0.85rem; font-weight: 500; transition: var(--transition); padding: 8px 16px; border-radius: 60px; }
        .nav-links a:hover { color: var(--gold); }
        .lang-switcher { display: flex; align-items: center; gap: 4px; font-size: 0.8rem; font-weight: 600; background: rgba(168,124,44, 0.08); border: 1px solid rgba(168,124,44, 0.2); border-radius: 60px; padding: 4px 8px; }
        .lang-switcher a { text-decoration: none; color: var(--white-muted); transition: var(--transition); padding: 2px 6px; border-radius: 60px; }
        .lang-switcher a.active { color: var(--gold); background: rgba(168,124,44, 0.15); }
        .lang-switcher a:hover { color: var(--gold); }
        .lang-sep { color: var(--white-muted); opacity: 0.4; }
        .nav-links a.active { background: rgba(168,124,44,0.12); color: var(--gold); }

        .container { max-width: 860px; margin: 0 auto; padding: 0 24px; }

        /* HERO */
        .hero { padding: 130px 0 60px; position: relative; overflow: hidden; }
        .hero::before { content: ''; position: absolute; top: -50%; right: -30%; width: 800px; height: 800px; background: radial-gradient(circle, rgba(168,124,44,0.06) 0%, transparent 70%); pointer-events: none; }
        .hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(168,124,44,0.1); border: 1px solid rgba(168,124,44,0.25); border-radius: 60px; padding: 8px 20px; font-size: 0.82rem; color: var(--gold); font-weight: 500; margin-bottom: 24px; }
        .hero-badge .dot { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
        @keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
        .hero h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
        .hero h1 .hl { background: var(--gradient-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
        .hero p { color: var(--white-dim); font-size: 1.1rem; max-width: 640px; margin-bottom: 32px; }
        .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
        .btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 60px; font-family: inherit; font-size: 0.92rem; font-weight: 600; cursor: pointer; border: none; transition: var(--transition); color: var(--gold); text-decoration: none; }
        .btn-primary { background: var(--gradient-gold); color: #241905; box-shadow: 0 4px 20px rgba(168,124,44,0.3); }
        .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(168,124,44,0.45); }
        .btn-outline { background: transparent; color: var(--gold); border: 2px solid rgba(168,124,44,0.4); }
        .btn-outline:hover { background: rgba(168,124,44,0.1); border-color: var(--gold); }

        /* TABLE OF CONTENTS */
        .toc { background: var(--navy-card); border: 1px solid var(--hair); border-radius: var(--radius); padding: 32px; margin-bottom: 48px; }
        .toc h2 { font-size: 1.1rem; font-weight: 700; color: var(--gold); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
        .toc-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
        .toc-list a { text-decoration: none; color: var(--white-dim); font-size: 0.9rem; padding: 8px 12px; border-radius: var(--radius-sm); transition: var(--transition); display: flex; align-items: center; gap: 10px; }
        .toc-list a:hover { background: rgba(168,124,44,0.08); color: var(--gold); }
        .toc-num { width: 28px; height: 28px; border-radius: 50%; background: rgba(168,124,44,0.1); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; color: var(--gold); flex-shrink: 0; }

        /* GUIDE STEPS */
        .guide-step { margin-bottom: 56px; scroll-margin-top: 100px; }
        .step-header { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 20px; }
        .step-number { width: 56px; height: 56px; border-radius: 50%; background: rgba(168,124,44,0.12); border: 2px solid var(--gold); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 800; color: var(--gold); flex-shrink: 0; }
        .step-header h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 4px; }
        .step-header .step-tag { font-size: 0.75rem; font-weight: 600; color: var(--navy); background: var(--gradient-gold); padding: 3px 12px; border-radius: 60px; display: inline-block; margin-top: 4px; }

        .step-content { margin-left: 76px; }
        .step-content > p { color: var(--white-dim); margin-bottom: 16px; font-size: 0.95rem; }

        /* CARD STYLES */
        .info-card { background: var(--navy-card); border: 1px solid var(--hair); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 20px; }
        .info-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 12px; color: var(--white); display: flex; align-items: center; gap: 8px; }
        .info-card p { color: var(--white-muted); font-size: 0.9rem; line-height: 1.7; }
        .info-card ul, .info-card ol { padding-left: 20px; margin-top: 8px; }
        .info-card li { color: var(--white-dim); font-size: 0.9rem; margin-bottom: 6px; line-height: 1.6; }
        .info-card li strong { color: var(--white); }

        /* FIELD TABLE */
        .field-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
        .field-table th { text-align: left; padding: 10px 12px; font-size: 0.78rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); border-bottom: 2px solid rgba(168,124,44,0.2); }
        .field-table td { padding: 10px 12px; font-size: 0.88rem; border-bottom: 1px solid var(--navy-card); }
        .field-table td:first-child { color: var(--white); font-weight: 600; white-space: nowrap; }
        .field-table td:last-child { color: var(--white-muted); }
        .field-table tr:hover { background: rgba(168,124,44,0.03); }

        /* ALERT BOXES */
        .alert { border-radius: var(--radius-sm); padding: 16px 20px; margin: 16px 0; display: flex; gap: 12px; align-items: flex-start; }
        .alert .icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }
        .alert p { font-size: 0.88rem; line-height: 1.6; }
        .alert-info { background: rgba(52,152,219,0.08); border: 1px solid rgba(52,152,219,0.2); }
        .alert-info p { color: var(--white-dim); }
        .alert-warning { background: rgba(168,124,44,0.08); border: 1px solid rgba(168,124,44,0.2); }
        .alert-warning p { color: var(--white-dim); }
        .alert-danger { background: rgba(231,76,60,0.08); border: 1px solid rgba(231,76,60,0.2); }
        .alert-danger p { color: #e8a09a; }
        .alert-success { background: rgba(46,204,113,0.08); border: 1px solid rgba(46,204,113,0.2); }
        .alert-success p { color: #a8e6cf; }

        /* CHECKLIST */
        .checklist { list-style: none; margin: 12px 0; }
        .checklist li { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; color: var(--white-dim); font-size: 0.9rem; border-bottom: 1px solid var(--navy-card); }
        .checklist li:last-child { border-bottom: none; }
        .checklist .check { color: var(--gold); font-size: 1rem; flex-shrink: 0; margin-top: 2px; }

        /* TIMELINE MINI */
        .timeline-mini { border-left: 2px solid rgba(168,124,44,0.2); margin: 16px 0 16px 12px; padding-left: 24px; }
        .timeline-mini .tm-item { position: relative; margin-bottom: 16px; }
        .timeline-mini .tm-item::before { content: ''; position: absolute; left: -31px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); }
        .timeline-mini .tm-item h4 { font-size: 0.92rem; font-weight: 700; margin-bottom: 4px; }
        .timeline-mini .tm-item p { font-size: 0.85rem; color: var(--white-muted); }

        /* DIVIDER */
        .divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(168,124,44,0.2), transparent); margin: 48px 0; }

        /* CTA BOTTOM */
        .cta-box { background: var(--navy-card); border: 1px solid var(--gold); border-radius: var(--radius); padding: 40px; text-align: center; margin: 56px 0 80px; position: relative; overflow: hidden; }
        .cta-box::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, rgba(168,124,44,0.08) 0%, transparent 70%); }
        .cta-box h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 12px; position: relative; }
        .cta-box p { color: var(--white-muted); margin-bottom: 24px; position: relative; }
        .cta-box .btn { position: relative; }

        /* FOOTER MINI */
        .footer-mini { text-align: center; padding: 32px 0; border-top: 1px solid var(--hair); color: var(--white-muted); font-size: 0.8rem; }

        /* PRINT */
        @media print {
            body { background: #fff; color: #000; }
            .nav, .hero-actions, .cta-box, .footer-mini { display: none !important; }
            .hero { padding-top: 20px; }
            .hero h1 .hl { color: #000; -webkit-text-fill-color: #000; }
            .info-card { border: 1px solid #ddd; }
            .alert { border: 1px solid #ddd; background: #f9f9f9; }
        }

        @media (max-width: 768px) {
            .step-content { margin-left: 0; margin-top: 12px; }
            .step-header { flex-direction: column; align-items: flex-start; gap: 12px; }
            .toc-list { grid-template-columns: 1fr; }
            .field-table { font-size: 0.8rem; }
            /* Nav : masquer les liens texte (pas de hamburger ici), garder le
               logo + le sélecteur de langue, pour ne pas déborder à 390 px. */
            .nav-links > a { display: none; }
            .nav-links { gap: 10px; }
        }
