/* Blog & FAQ - Protocom */
.blog-hero {
    padding: 180px 0 80px;
    background:
        linear-gradient(135deg, rgba(37,86,142,.92), rgba(160,58,132,.85)),
        url('https://images.unsplash.com/photo-1499750310107-5fef28a66643?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover;
    color: #fff;
    text-align: center;
}
.blog-hero h1 { font-family: 'Space Grotesk', sans-serif; font-size: 3rem; margin-bottom: 16px; }
.blog-hero p { font-size: 1.15rem; max-width: 720px; margin: 0 auto; opacity: .92; }

.blog-list { padding: 80px 0; background: #f8fafc; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.blog-card {
    background: #fff; border-radius: 16px; overflow: hidden;
    box-shadow: 0 6px 20px rgba(15,23,42,.06);
    transition: transform .3s ease, box-shadow .3s ease;
    display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(15,23,42,.12); }
.blog-card-img { aspect-ratio: 16/9; overflow: hidden; }
.blog-card-img img { width:100%; height:100%; object-fit:cover; transition: transform .5s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-body { padding: 24px; flex: 1; display:flex; flex-direction:column; }
.blog-card-cat { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.blog-card-cat.cyan { color: #36AFE9; }
.blog-card-cat.blue { color: #25568E; }
.blog-card-cat.yellow { color: #B68A12; }
.blog-card-cat.orange { color: #F7931E; }
.blog-card-cat.magenta { color: #E93D7A; }
.blog-card-cat.purple { color: #A03A84; }
.blog-card h2, .blog-card h3 {
    font-family: 'Space Grotesk', sans-serif; font-size: 1.25rem;
    margin: 0 0 12px; color: #1e293b; line-height: 1.35;
}
.blog-card p { color: #475569; font-size: .95rem; line-height: 1.6; flex:1; }
.blog-card-meta { display:flex; justify-content:space-between; align-items:center; margin-top: 16px; font-size: .82rem; color: #64748b; }
.blog-card-link { display: inline-flex; align-items:center; gap: 6px; color: #25568E; font-weight:600; text-decoration:none; }

/* Article (page détail) */
.article-hero {
    padding: 160px 0 60px; color: #fff;
    background-size: cover; background-position: center;
    position: relative;
}
.article-hero::before { content:""; position:absolute; inset:0; background: linear-gradient(135deg, rgba(15,23,42,.65), rgba(37,86,142,.75)); }
.article-hero .container { position: relative; z-index:2; max-width: 900px; }
.article-hero .breadcrumb a { color: #fff; opacity:.9; }
.article-hero h1 { font-family: 'Space Grotesk', sans-serif; font-size: 2.6rem; line-height: 1.2; margin: 16px 0; max-width: 850px; }
.article-meta { display:flex; gap: 18px; flex-wrap:wrap; font-size: .9rem; opacity: .92; }
.article-meta .tag { background: rgba(255,255,255,.18); padding: 4px 12px; border-radius: 20px; }

.article-body { padding: 60px 0 80px; background: #fff; }
.article-body .container { max-width: 820px; }
.article-body .toc {
    background: #f8fafc; padding: 24px 28px; border-radius: 14px;
    border-left: 4px solid #36AFE9; margin-bottom: 40px;
}
.article-body .toc h3 { margin: 0 0 12px; font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; color: #25568E; }
.article-body .toc ol { padding-left: 22px; margin: 0; }
.article-body .toc li { margin: 4px 0; line-height: 1.5; }
.article-body .toc a { color: #1e293b; text-decoration: none; }
.article-body .toc a:hover { color: #25568E; text-decoration: underline; }

.article-body h2 { font-family: 'Space Grotesk', sans-serif; font-size: 1.8rem; margin: 48px 0 16px; color: #1e293b; scroll-margin-top: 100px; }
.article-body h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.3rem; margin: 32px 0 12px; color: #25568E; }
.article-body p, .article-body li { line-height: 1.75; color: #334155; font-size: 1.04rem; margin-bottom: 14px; }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 18px; }
.article-body strong { color: #1e293b; }
.article-body blockquote {
    border-left: 4px solid #E93D7A; padding: 14px 22px; margin: 24px 0;
    background: linear-gradient(90deg, rgba(233,61,122,.06), transparent);
    font-style: italic; color: #475569;
}
.article-body img { max-width: 100%; border-radius: 12px; margin: 24px 0; box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.article-body .callout {
    background: linear-gradient(135deg, #f0f9ff, #fdf4ff);
    padding: 22px 26px; border-radius: 14px; margin: 28px 0;
    border-left: 4px solid #A03A84;
}
.article-body .callout strong { display:block; margin-bottom: 6px; color: #A03A84; }

.article-cta {
    margin-top: 50px; padding: 36px; border-radius: 18px;
    background: linear-gradient(135deg, #25568E, #A03A84);
    color: #fff; text-align: center;
}
.article-cta h3 { font-family:'Space Grotesk', sans-serif; font-size: 1.6rem; margin: 0 0 10px; color:#fff; }
.article-cta p { color: rgba(255,255,255,.9); margin-bottom: 18px; }
.article-cta .btn-white { background:#fff; color:#25568E; padding: 12px 26px; border-radius: 10px; text-decoration:none; font-weight:600; display:inline-block; }

/* FAQ */
.faq-hero {
    padding: 180px 0 70px; color: #fff; text-align:center;
    background: linear-gradient(135deg, #25568E 0%, #A03A84 50%, #E93D7A 100%);
}
.faq-hero h1 { font-family: 'Space Grotesk', sans-serif; font-size: 2.8rem; margin-bottom: 14px; }
.faq-hero p { max-width: 700px; margin: 0 auto; font-size: 1.1rem; opacity: .94; }

.faq-section { padding: 70px 0; background: #f8fafc; }
.faq-section .container { max-width: 880px; }
.faq-category { margin-bottom: 36px; }
.faq-category h2 {
    font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem;
    color: #25568E; margin-bottom: 16px;
    padding-left: 14px; border-left: 4px solid #E93D7A;
}
.faq-item {
    background: #fff; border-radius: 12px; margin-bottom: 12px;
    box-shadow: 0 3px 12px rgba(15,23,42,.05); overflow:hidden;
    transition: box-shadow .2s ease;
}
.faq-item[open] { box-shadow: 0 10px 30px rgba(15,23,42,.1); }
.faq-item summary {
    padding: 18px 24px; cursor: pointer; font-weight: 600; color: #1e293b;
    display:flex; justify-content:space-between; align-items:center; gap: 14px;
    list-style: none; font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+"; font-size: 1.5rem; color: #36AFE9; font-weight: 300;
    transition: transform .25s ease;
}
.faq-item[open] summary::after { content: "−"; transform: rotate(180deg); }
.faq-item .faq-answer { padding: 0 24px 22px; color: #475569; line-height: 1.7; }
.faq-item .faq-answer p { margin: 0 0 10px; }
.faq-item .faq-answer ul { margin: 0 0 10px; padding-left: 22px; }

@media (max-width: 768px) {
    .blog-hero h1, .faq-hero h1 { font-size: 2rem; }
    .article-hero h1 { font-size: 1.8rem; }
}

/* Toast formulaire */
.form-toast { display:none; padding: 14px 18px; border-radius: 10px; margin-top: 14px; font-weight: 500; font-size: .95rem; }
.form-toast.success { background:#ecfdf5; color:#065f46; border: 1px solid #a7f3d0; }
.form-toast.error { background:#fef2f2; color:#991b1b; border: 1px solid #fecaca; }
