/* =========================================================
Digitab – blog (blog.html + articles)
Même langage visuel que contact.html et la page IA :
dégradé doux, cartes blanches arrondies, accents turquoise.
========================================================= */

/* --- En-tête de page --- */
.dgb-hero {
clear: both; position: relative; overflow: hidden;
background: linear-gradient(135deg, #eaf6f6 0%, #ffffff 60%, #eef2f3 100%);
padding: 56px 0 44px; text-align: center;
}
.dgb-hero::before {
content: ""; position: absolute; width: 460px; height: 460px; right: -160px; top: -220px; border-radius: 50%;
background: radial-gradient(circle, rgba(117,198,198,.32), rgba(117,198,198,0) 70%); pointer-events: none;
}
.dgb-hero .container { position: relative; }
.dgb-kicker {
display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 7px 14px; border-radius: 999px;
background: rgba(117,198,198,.25); color: #21424f; font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.dgb-hero h1 {
font-family: 'Raleway', sans-serif; color: #21424f; font-weight: 800; font-size: 40px; line-height: 1.18;
max-width: 860px; margin: 0 auto 14px;
}
.dgb-hero h1 span { color: #19a0ad; }
.dgb-hero-lead { max-width: 680px; margin: 0 auto; font-size: 17px; line-height: 1.7; color: #33464f; }

/* Fil d'Ariane */
.dgb-crumbs { font-size: 14px; color: #4b6570; margin: 0 0 18px; }
.dgb-crumbs a { color: #19a0ad; font-weight: 600; }
.dgb-crumbs span { margin: 0 6px; opacity: .6; }

/* Méta d'article */
.dgb-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; font-size: 14px; color: #4b6570; }
.dgb-meta b { color: #21424f; }

/* --- Liste des articles --- */
.dgb-list { padding: 40px 0 70px; background: linear-gradient(180deg, #ffffff 0%, #f4f4f6 100%); }
.dgb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 1040px; margin: 0 auto; }
.dgb-card {
display: flex; flex-direction: column; background: #fff; border-radius: 22px; overflow: hidden; color: #21424f;
box-shadow: 0 10px 34px rgba(33,66,79,.10); transition: transform .25s ease, box-shadow .25s ease; text-decoration: none;
}
.dgb-card:hover, .dgb-card:focus { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(33,66,79,.18); color: #21424f; text-decoration: none; }
.dgb-card-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #eef6f6; }
.dgb-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; transition: transform .5s ease; }
.dgb-card:hover .dgb-card-img img { transform: scale(1.05); }
.dgb-tag {
position: absolute; left: 16px; top: 16px; padding: 6px 12px; border-radius: 999px; background: #fff;
color: #19a0ad; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 4px 12px rgba(33,66,79,.12);
}
.dgb-card-body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.dgb-card-date { font-size: 13px; color: #4b6570; margin: 0 0 8px; }
.dgb-card h2 { font-size: 22px; line-height: 1.3; font-weight: 700; color: #21424f; margin: 0 0 10px; }
.dgb-card p.dgb-excerpt { font-size: 15px; line-height: 1.65; color: #4b6570; margin: 0 0 18px; }
.dgb-more { margin-top: auto; font-weight: 700; color: #19a0ad; }
.dgb-card:hover .dgb-more { text-decoration: underline; }

/* --- Article --- */
.dgb-article-wrap { padding: 0 0 70px; background: linear-gradient(180deg, #ffffff 0%, #f4f4f6 100%); }
.dgb-cover { max-width: 1040px; margin: -10px auto 0; border-radius: 24px; overflow: hidden; box-shadow: 0 18px 50px rgba(33,66,79,.14); background: #fff; }
.dgb-cover img { display: block; width: 100%; height: auto; }
.dgb-article { max-width: 860px; margin: 40px auto 0; }
.dgb-intro { font-size: 18px; line-height: 1.75; color: #33464f; margin: 0 0 30px; }
.dgb-section {
display: grid; grid-template-columns: 1fr 200px; gap: 30px; align-items: center;
background: #fff; border-radius: 22px; padding: 30px 32px; margin-bottom: 22px;
box-shadow: 0 6px 22px rgba(33,66,79,.08);
}
.dgb-section.dgb-rev { grid-template-columns: 200px 1fr; }
.dgb-section.dgb-rev .dgb-section-img { order: -1; }
.dgb-num {
display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%;
background: #19a0ad; color: #fff; font-weight: 800; font-size: 17px; margin-bottom: 12px;
}
.dgb-section h2 { font-size: 22px; line-height: 1.3; font-weight: 700; color: #21424f; margin: 0 0 10px; }
.dgb-section p { font-size: 16px; line-height: 1.75; color: #33464f; margin: 0 0 10px; }
.dgb-section p:last-child { margin-bottom: 0; }
.dgb-section-img { background: #f3f9f9; border-radius: 18px; padding: 12px; }
.dgb-section-img img { display: block; width: 100%; height: auto; border-radius: 12px; }

.dgb-key {
background: linear-gradient(135deg, rgba(117,198,198,.22), rgba(25,160,173,.10)); border-left: 5px solid #19a0ad;
border-radius: 18px; padding: 24px 28px; margin: 30px 0 22px;
}
.dgb-key h2 { font-size: 19px; font-weight: 700; color: #21424f; margin: 0 0 12px; }
.dgb-key ul { list-style: none; margin: 0; padding: 0; }
.dgb-key li { position: relative; padding-left: 30px; margin-bottom: 9px; font-size: 15.5px; line-height: 1.6; color: #21424f; font-weight: 600; }
.dgb-key li::before {
content: "\2713"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
background: #19a0ad; color: #fff; font-size: 11px; line-height: 20px; text-align: center;
}

.dgb-author { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: 18px; padding: 20px 24px; box-shadow: 0 4px 18px rgba(33,66,79,.07); }
.dgb-author-avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 2px solid rgba(25,160,173,.35); display: flex; align-items: center; justify-content: center; }
.dgb-author-avatar img { width: 34px; height: auto; }
.dgb-author p { margin: 0; font-size: 14.5px; line-height: 1.55; color: #4b6570; }
.dgb-author strong { color: #21424f; font-size: 16px; }

.dgb-next { margin-top: 40px; }
.dgb-next h2 { font-size: 20px; font-weight: 700; color: #21424f; margin: 0 0 16px; text-align: center; }
.dgb-next .dgb-card { flex-direction: row; max-width: 860px; margin: 0 auto; }
.dgb-next .dgb-card-img { flex: 0 0 38%; aspect-ratio: auto; min-height: 180px; }
.dgb-next .dgb-card h2 { text-align: left; font-size: 20px; margin-bottom: 14px; }

/* --- Responsive --- */
@media (max-width: 991px) {
.dgb-hero h1 { font-size: 34px; }
.dgb-cover { margin-left: 16px; margin-right: 16px; }
}
@media (max-width: 767px) {
.dgb-hero { padding: 36px 0 30px; }
.dgb-hero h1 { font-size: 27px; }
.dgb-hero-lead { font-size: 15.5px; }
.dgb-grid { grid-template-columns: 1fr; gap: 20px; }
.dgb-card-body { padding: 20px; }
.dgb-card h2 { font-size: 20px; }
.dgb-cover { border-radius: 16px; }
.dgb-article { margin-top: 26px; }
.dgb-intro { font-size: 16px; }
.dgb-section, .dgb-section.dgb-rev { grid-template-columns: 1fr; gap: 18px; padding: 22px 20px; border-radius: 18px; }
.dgb-section-img { max-width: 220px; margin: 0 auto; }
.dgb-section.dgb-rev .dgb-section-img { order: 0; }
.dgb-section h2 { font-size: 19px; }
.dgb-section p { font-size: 15px; }
.dgb-next .dgb-card { flex-direction: column; }
.dgb-next .dgb-card-img { aspect-ratio: 16 / 9; min-height: 0; }
}
