/* Guide d'utilisation - Design moderne (orange, bleu, vert) */
:root {
    --guide-orange: #FF6B35;
    --guide-blue: #2E5EAA;
    --guide-green: #4CAF50;
    --guide-orange-light: rgba(255, 107, 53, 0.12);
    --guide-blue-light: rgba(46, 94, 170, 0.12);
    --guide-green-light: rgba(76, 175, 80, 0.12);
}
.guide-hero {
    position: relative;
    overflow: hidden;
    padding: 4rem 2rem 4rem;
    background: linear-gradient(135deg, #f8f9fc 0%, #eef2f7 50%, #e8f0f5 100%);
}
.guide-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 100%;
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, var(--guide-orange-light) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, var(--guide-blue-light) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 50% 90%, var(--guide-green-light) 0%, transparent 50%);
    pointer-events: none;
}
.guide-hero .card {
    position: relative;
    border: none;
    border-radius: 1.25rem;
    border-left: 4px solid var(--guide-orange);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(10px);
}
.guide-title-main {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a2e;
}
.guide-title-brand {
    background: linear-gradient(135deg, var(--guide-orange) 0%, var(--guide-blue) 50%, var(--guide-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.guide-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.guide-badge-blue { background: var(--guide-blue-light); color: var(--guide-blue); }
.guide-content { padding: 3rem 0 4rem; }
.guide-content .guide-body { line-height: 1.85; color: #334155; }
.guide-content h2, .guide-content h3 { color: #1e293b; font-weight: 700; }
.guide-section-divider {
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--guide-orange), var(--guide-blue), var(--guide-green));
    margin: 2.5rem 0;
}
/* Chapitres */
.guide-chapter-card {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem 1.75rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}
.guide-chapter-card:hover {
    border-color: var(--guide-blue-light);
    box-shadow: 0 8px 24px rgba(46, 94, 170, 0.12);
}
.guide-chapter-num {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--guide-orange), var(--guide-blue));
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.guide-chapter-title { font-size: 1.15rem; font-weight: 700; color: #1e293b; margin-bottom: 0.5rem; }
.guide-chapter-content { color: #64748b; font-size: 0.95rem; line-height: 1.7; }
/* Conseils */
.guide-tips-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.guide-tip-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 1rem;
    background: linear-gradient(145deg, #fff 0%, #f8fafc 100%);
    border: 1px solid rgba(76, 175, 80, 0.2);
    transition: all 0.3s ease;
}
.guide-tip-card:hover {
    border-color: var(--guide-green);
    box-shadow: 0 8px 24px rgba(76, 175, 80, 0.15);
}
.guide-tip-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--guide-green-light);
    color: var(--guide-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.guide-tip-text { color: #334155; font-size: 0.95rem; line-height: 1.6; }
/* Erreurs fréquentes */
.guide-issue-card {
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}
.guide-issue-card:hover { border-color: var(--guide-orange-light); }
.guide-issue-card .accordion-button {
    background: #fff;
    color: #1e293b;
    font-weight: 600;
    padding: 1rem 1.25rem;
    border: none;
    box-shadow: none;
}
.guide-issue-card .accordion-button:not(.collapsed) {
    background: var(--guide-orange-light);
    color: var(--guide-orange);
}
.guide-issue-card .accordion-button::after { filter: none; }
.guide-issue-card .accordion-button:focus { box-shadow: none; }
.guide-issue-card .accordion-body {
    padding: 1rem 1.25rem 1.25rem;
    color: #64748b;
    line-height: 1.7;
    border-top: 1px solid rgba(0,0,0,0.06);
}
.guide-audience {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    background: var(--guide-blue-light);
    color: var(--guide-blue);
    font-size: 0.9rem;
    font-weight: 600;
}
.guide-content .text-primary { color: var(--guide-orange) !important; }
/* Videos guide */
.guide-video-item { margin-bottom: 0; }
.guide-video-heading {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.1rem;
    border-radius: 0.85rem;
    border-left: 4px solid var(--guide-orange);
    background: linear-gradient(145deg, #fff 0%, #f8fafc 100%);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.03);
    color: #1e293b;
}
.guide-video-heading i {
    color: var(--guide-orange);
}
.guide-video-card-title {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 0.65rem 1.15rem;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
    border-radius: 0.75rem;
    border-left: 4px solid var(--guide-orange);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.03);
    color: #1e293b;
}
.guide-video-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    background: linear-gradient(145deg, #fff 0%, #f8fafc 100%);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.06);
}
.guide-video-wrapper { border-radius: 1rem; overflow: hidden; background: #0f172a; max-height: 220px; }
.guide-video-wrapper iframe,
.guide-video-wrapper video { display: block; }
.guide-video-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    padding: 2rem;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #94a3b8;
    text-align: center;
}
.guide-video-fallback .icon-large { font-size: 3rem; color: var(--guide-orange); margin-bottom: 1rem; }
.guide-video-link { color: var(--guide-orange) !important; }
.guide-video-link:hover { color: var(--guide-blue) !important; }
/* Illustration - modèle promo (comme Confidentialité, Centre d'aide) */
.guide-illustration-card {
    border-radius: 1.5rem;
    overflow: hidden;
    background: #f8f9fa;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    margin-bottom: 2.5rem;
}
.guide-illustration-header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(90deg, var(--guide-orange-light), var(--guide-blue-light));
}
.guide-illustration-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--guide-orange), var(--guide-blue), var(--guide-green));
}
.guide-illustration-header i {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--guide-orange), var(--guide-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.guide-illustration-header span { font-size: 1rem; font-weight: 700; color: #1e293b; }
.guide-illustration-body { padding: 1.75rem 1.5rem 2rem; }
.guide-images-promo-card {
    border-radius: 1.25rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.guide-images-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.guide-image-frame {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: all 0.35s ease;
}
.guide-image-frame:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(255, 107, 53, 0.2);
}
.guide-image-frame img { width: 100%; height: 220px; object-fit: cover; display: block; }
