/* ===== ProRestauration.fr — article.css ===== */

/* ── EN-TÊTE ARTICLE ─────────────────────────── */
.article-header { margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.article-tag-large { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rouge); margin-bottom: 14px; }
.article-header h1 { font-family: var(--ff-titre); font-size: clamp(28px, 3.5vw, 44px); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 18px; }
.article-intro { font-size: 18px; color: var(--gris-mid); line-height: 1.7; margin-bottom: 20px; }
.article-meta-bar { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--gris-mid); flex-wrap: wrap; }
.article-meta-bar .sep { color: var(--border); }

/* ── SOMMAIRE ────────────────────────────────── */
.toc { background: var(--gris-clair); border-left: 3px solid var(--rouge); padding: 20px 24px; margin-bottom: 40px; }
.toc-title { font-weight: 600; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gris-mid); margin-bottom: 12px; }
.toc ol { padding-left: 20px; display: flex; flex-direction: column; gap: 7px; }
.toc ol li a { font-size: 14px; color: var(--gris-fonce); text-decoration: none; }
.toc ol li a:hover { color: var(--rouge); }

/* ── CONTENU ARTICLE ─────────────────────────── */
.page-content section { margin-bottom: 48px; }
.page-content h2 { font-family: var(--ff-titre); font-size: 26px; font-weight: 700; line-height: 1.2; margin-bottom: 18px; padding-top: 8px; }
.page-content h3 { font-family: var(--ff-titre); font-size: 20px; font-weight: 700; margin-bottom: 14px; }
.page-content p { margin-bottom: 16px; font-size: 16px; line-height: 1.75; }
.page-content ul, .page-content ol { padding-left: 22px; margin-bottom: 20px; }
.page-content li { margin-bottom: 8px; font-size: 16px; line-height: 1.7; }
.page-content a { color: var(--rouge); }
.page-content strong { font-weight: 600; }

/* ── INFO BOXES ──────────────────────────────── */
.info-box { display: flex; gap: 16px; background: #FEF3F2; border-left: 3px solid var(--rouge); padding: 16px 20px; margin: 24px 0; font-size: 14.5px; line-height: 1.65; border-radius: 0 4px 4px 0; }
.info-tip { background: #F0F9F5; border-left-color: #1D9E75; }
.info-bon { background: #EFF6FF; border-left-color: #2563EB; }
.info-icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }

/* ── IN-ARTICLE CTA ──────────────────────────── */
.in-article-cta { background: var(--noir); color: var(--blanc); padding: 28px 32px; margin: 36px 0; border-radius: 4px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.in-article-cta-text { flex: 1; min-width: 200px; }
.in-article-cta-text strong { display: block; font-family: var(--ff-titre); font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.in-article-cta-text span { font-size: 14px; opacity: 0.7; }
.in-article-cta .btn-primary { white-space: nowrap; flex-shrink: 0; }

/* ── TABLEAUX ────────────────────────────────── */
.table-wrapper { overflow-x: auto; margin: 24px 0; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table thead { background: var(--noir); color: var(--blanc); }
.data-table th { padding: 12px 16px; text-align: left; font-weight: 600; font-size: 13px; letter-spacing: 0.04em; }
.data-table td { padding: 11px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.data-table .row-alt { background: var(--gris-clair); }
.data-table .row-highlight td { background: #FEF3F2; }
.data-table strong { color: var(--rouge); }
.table-note { font-size: 12px; color: var(--gris-mid); font-style: italic; margin-top: 8px; }

/* ── VISUALISATION TEMPÉRATURES ──────────────── */
.temp-visual { margin: 28px 0; }
.temp-bar { display: flex; border-radius: 4px; overflow: hidden; height: 80px; }
.temp-zone { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; font-size: 12px; font-weight: 600; }
.temp-froid { background: #D6EBF7; color: #0C447C; }
.temp-danger { background: #FEE2E2; color: #9B1C1C; flex: 2; }
.temp-chaud { background: #FDEBD0; color: #7C2D12; }
.temp-label { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.temp-value { font-size: 15px; font-weight: 700; }

/* ── FAQ ─────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item summary { padding: 16px 0; font-weight: 600; cursor: pointer; font-size: 15px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::after { content: '+'; color: var(--rouge); font-size: 20px; flex-shrink: 0; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 0 16px; font-size: 15px; color: var(--gris-mid); line-height: 1.7; }

/* ── ARTICLES CONNEXES ───────────────────────── */
.related-articles { margin-top: 48px; padding-top: 32px; border-top: 2px solid var(--border); }
.related-articles h3 { font-family: var(--ff-titre); font-size: 20px; font-weight: 700; margin-bottom: 20px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card { background: var(--gris-clair); border: 1px solid var(--border); padding: 18px; text-decoration: none; color: var(--noir); display: flex; flex-direction: column; gap: 8px; transition: border-color 0.15s; }
.related-card:hover { border-color: var(--rouge); }
.related-tag { font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rouge); }
.related-title { font-family: var(--ff-titre); font-size: 15px; font-weight: 700; line-height: 1.3; }

@media (max-width: 700px) {
  .related-grid { grid-template-columns: 1fr; }
}

/* ── SOMMAIRE ARTICLE (TOC) ──────────────────── */
.article-toc { background: var(--gris-clair); border-left: 3px solid var(--rouge); padding: 20px 24px; margin: 0 0 40px; }
.article-toc strong { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gris-mid); margin-bottom: 12px; }
.article-toc ol { padding-left: 18px; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.article-toc ol li a { font-size: 14px; color: var(--gris-fonce); text-decoration: none; }
.article-toc ol li a:hover { color: var(--rouge); }

/* ── CARTE VIDÉO YOUTUBE ─────────────────────── */
.video-embed-card { background: #0f0f0f; border-radius: 6px; padding: 24px 28px; margin: 32px 0; display: flex; align-items: center; gap: 20px; }
.video-card-inner { display: flex; align-items: center; gap: 20px; width: 100%; }
.video-card-icon { width: 52px; height: 52px; background: #FF0000; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; flex-shrink: 0; }
.video-card-text strong { display: block; color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 5px; }
.video-card-text span { color: rgba(255,255,255,0.6); font-size: 13px; line-height: 1.5; }
@media (max-width: 600px) {
  .video-card-inner { flex-direction: column; align-items: flex-start; }
}
