/* =========================================================
Digitab – pages de contenu modernisées
(applications.html, produits.html, realisations.html)
Même langage visuel que contact.html, le blog et la page IA.
========================================================= */

/* --- En-tête de page --- */
.dgp-hero {
clear: both; position: relative; overflow: hidden;
background: linear-gradient(135deg, #eaf6f6 0%, #ffffff 60%, #eef2f3 100%);
padding: 56px 0 46px; text-align: center;
}
.dgp-hero::before {
content: ""; position: absolute; width: 480px; height: 480px; right: -170px; top: -230px; border-radius: 50%;
background: radial-gradient(circle, rgba(117,198,198,.32), rgba(117,198,198,0) 70%); pointer-events: none;
}
.dgp-hero::after {
content: ""; position: absolute; width: 340px; height: 340px; left: -150px; bottom: -200px; border-radius: 50%;
background: radial-gradient(circle, rgba(25,160,173,.16), rgba(25,160,173,0) 70%); pointer-events: none;
}
.dgp-hero .container { position: relative; z-index: 1; }
.dgp-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;
}
.dgp-hero h1 {
font-family: 'Raleway', sans-serif; color: #21424f; font-weight: 800; font-size: 42px; line-height: 1.16;
max-width: 900px; margin: 0 auto 14px;
}
.dgp-hero h1 span { color: #19a0ad; }
.dgp-lead { max-width: 700px; margin: 0 auto; font-size: 17px; line-height: 1.7; color: #33464f; }

/* Navigation rapide par pastilles */
.dgp-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.dgp-jump a {
display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: #fff;
color: #21424f; font-weight: 700; font-size: 14.5px; box-shadow: 0 4px 16px rgba(33,66,79,.10);
border: 2px solid transparent; transition: transform .2s, border-color .2s, box-shadow .2s; text-decoration: none;
}
.dgp-jump a:hover, .dgp-jump a:focus { transform: translateY(-2px); border-color: #19a0ad; box-shadow: 0 10px 22px rgba(33,66,79,.14); color: #21424f; text-decoration: none; }
.dgp-jump a span { font-size: 17px; line-height: 1; }

/* --- Sections --- */
.dgp-section { padding: 70px 0; scroll-margin-top: 90px; }
.dgp-section.dgp-soft { background: #f4f4f6; }
.dgp-section.dgp-white { background: #fff; }
.dgp-anchor { display: block; position: relative; top: -100px; visibility: hidden; }
.dgp-head { text-align: center; max-width: 780px; margin: 0 auto 38px; }
.dgp-eyebrow { margin: 0 0 8px; color: #19a0ad; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.dgp-head h2 { font-family: 'Raleway', sans-serif; color: #21424f; font-size: 32px; font-weight: 800; line-height: 1.2; margin: 0 0 12px; text-transform: none; }
.dgp-head p { margin: 0; font-size: 16.5px; line-height: 1.7; color: #4b6570; }

/* --- Cartes courtes (services) --- */
.dgp-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.dgp-cards.dgp-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dgp-card {
display: flex; flex-direction: column; background: #fff; border-radius: 18px; padding: 26px 22px;
box-shadow: 0 4px 18px rgba(33,66,79,.08); border-top: 4px solid #75c6c6;
transition: transform .25s ease, box-shadow .25s ease;
}
.dgp-soft .dgp-card { background: #fff; }
.dgp-white .dgp-card { background: #f8fbfb; box-shadow: none; }
.dgp-card:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(33,66,79,.14); }
.dgp-card-ico { height: 70px; display: flex; align-items: center; margin-bottom: 14px; }
.dgp-card-ico img { max-height: 70px; width: auto; max-width: 100%; }
.dgp-card h3 { font-size: 18px; font-weight: 700; color: #21424f; margin: 0 0 6px; }
.dgp-card .dgp-tagline { font-size: 14.5px; font-weight: 600; color: #19a0ad; margin: 0 0 12px; line-height: 1.5; }
.dgp-dots { list-style: none; margin: auto 0 0; padding: 12px 0 0; border-top: 1px dashed rgba(33,66,79,.15); }
.dgp-dots li { position: relative; padding-left: 20px; margin-bottom: 6px; font-size: 14px; line-height: 1.5; color: #33464f; }
.dgp-dots li::before { content: ""; position: absolute; left: 3px; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: #75c6c6; }

/* --- Fiches produit / solution (image + texte) --- */
.dgp-feature {
display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center;
background: #fff; border-radius: 26px; padding: 40px; margin-bottom: 30px;
box-shadow: 0 8px 30px rgba(33,66,79,.08); scroll-margin-top: 100px;
}
.dgp-white .dgp-feature { background: #f8fbfb; box-shadow: none; border: 1px solid rgba(33,66,79,.06); }
.dgp-feature.dgp-rev .dgp-feature-media { order: 2; }
.dgp-feature:last-child { margin-bottom: 0; }
.dgp-feature-media {
display: flex; align-items: center; justify-content: center; min-height: 260px; padding: 20px; border-radius: 20px;
background: linear-gradient(135deg, rgba(117,198,198,.22), rgba(238,242,243,.8));
}
.dgp-feature-media img { max-width: 100%; max-height: 380px; width: auto; height: auto; transition: transform .4s ease; }
.dgp-feature:hover .dgp-feature-media img { transform: scale(1.03); }
.dgp-label {
display: inline-block; margin: 0 0 12px; padding: 5px 12px; border-radius: 999px; background: rgba(25,160,173,.12);
color: #19a0ad; font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.dgp-feature h3 { font-family: 'Raleway', sans-serif; font-size: 28px; font-weight: 800; color: #21424f; margin: 0 0 6px; line-height: 1.2; text-transform: none; }
.dgp-feature .dgp-sub { font-size: 17px; font-weight: 600; color: #19a0ad; margin: 0 0 14px; line-height: 1.5; }
.dgp-feature p { font-size: 15.5px; line-height: 1.75; color: #33464f; margin: 0 0 14px; }
.dgp-check { list-style: none; margin: 6px 0 0; padding: 0; }
.dgp-check li { position: relative; padding-left: 30px; margin-bottom: 10px; font-size: 15px; line-height: 1.55; color: #21424f; font-weight: 600; }
.dgp-check li::before {
content: "\2713"; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; border-radius: 50%;
background: #19a0ad; color: #fff; font-size: 12px; line-height: 21px; text-align: center; font-weight: 700;
}
.dgp-check.dgp-cols { columns: 2; column-gap: 26px; }
.dgp-check.dgp-cols li { break-inside: avoid; }
.dgp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; }
.dgp-chips span {
padding: 7px 13px; border-radius: 999px; background: #fff; border: 2px solid rgba(25,160,173,.35);
color: #21424f; font-size: 13.5px; font-weight: 700;
}
.dgp-white .dgp-chips span { background: #fff; }
.dgp-chips-title { margin: 12px 0 6px !important; font-size: 13px !important; font-weight: 700; color: #4b6570 !important; text-transform: uppercase; letter-spacing: .05em; }

/* --- Étapes (méthode / déroulé d'un jeu) --- */
.dgp-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; list-style: none; margin: 0; padding: 0; }
.dgp-steps.dgp-steps-5 { grid-template-columns: repeat(5, 1fr); }
.dgp-steps::before {
content: ""; position: absolute; top: 30px; left: 10%; right: 10%; height: 3px; border-radius: 3px;
background: linear-gradient(90deg, #75c6c6, #19a0ad, #21424f);
}
.dgp-step { position: relative; text-align: center; }
.dgp-step-num {
position: relative; z-index: 1; width: 62px; height: 62px; margin: 0 auto 14px; border-radius: 50%;
display: flex; align-items: center; justify-content: center; background: #fff; color: #21424f;
font-size: 23px; font-weight: 800; border: 3px solid #19a0ad; box-shadow: 0 8px 20px rgba(33,66,79,.14);
transition: background .25s, color .25s, transform .25s;
}
.dgp-step:hover .dgp-step-num { background: #19a0ad; color: #fff; transform: scale(1.08); }
.dgp-step h3 { font-size: 17px; font-weight: 700; color: #21424f; margin: 0 0 6px; }
.dgp-step p { font-size: 14px; line-height: 1.55; color: #4b6570; margin: 0; }
.dgp-steps-box { background: #fff; border-radius: 26px; padding: 36px 30px; box-shadow: 0 8px 30px rgba(33,66,79,.08); margin-bottom: 30px; }
.dgp-steps-box h3.dgp-steps-title { text-align: center; font-size: 21px; font-weight: 700; color: #21424f; margin: 0 0 28px; }

/* --- Encadré d'appel à l'action dans une section --- */
.dgp-inline-cta {
display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 30px;
padding: 26px 30px; border-radius: 22px; background: linear-gradient(135deg, rgba(117,198,198,.25), rgba(25,160,173,.10));
border-left: 5px solid #19a0ad;
}
.dgp-inline-cta h3 { font-size: 20px; font-weight: 700; color: #21424f; margin: 0 0 4px; }
.dgp-inline-cta p { margin: 0; font-size: 15px; color: #33464f; line-height: 1.6; max-width: 640px; }
.dgp-btn {
display: inline-block; padding: 13px 26px; border-radius: 999px; background: #21424f; color: #fff !important; font-weight: 700;
white-space: nowrap; text-decoration: none; transition: background .2s, transform .2s; box-shadow: 0 8px 20px rgba(33,66,79,.2);
}
.dgp-btn:hover { background: #19a0ad; transform: translateY(-2px); text-decoration: none; }

/* --- Page en construction --- */
.dgp-soon {
max-width: 760px; margin: 0 auto; text-align: center; background: #fff; border-radius: 26px; padding: 50px 40px;
box-shadow: 0 12px 40px rgba(33,66,79,.10);
}
.dgp-soon-ico { font-size: 54px; line-height: 1; margin-bottom: 16px; animation: dgp-bob 3s ease-in-out infinite; }
@keyframes dgp-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.dgp-soon h2 { font-family: 'Raleway', sans-serif; font-size: 28px; font-weight: 800; color: #21424f; margin: 0 0 12px; text-transform: none; }
.dgp-soon p { font-size: 16px; line-height: 1.7; color: #4b6570; margin: 0 auto 22px; max-width: 560px; }
.dgp-soon-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 26px; padding: 0; list-style: none; }
.dgp-soon-list li { padding: 9px 16px; border-radius: 999px; background: rgba(117,198,198,.18); color: #21424f; font-size: 14px; font-weight: 700; }

/* --- Responsive --- */
@media (max-width: 1199px) {
.dgp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dgp-steps.dgp-steps-5 { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
.dgp-steps.dgp-steps-5::before { display: none; }
}
@media (max-width: 991px) {
.dgp-hero h1 { font-size: 34px; }
.dgp-feature, .dgp-feature.dgp-rev { grid-template-columns: 1fr; gap: 26px; padding: 30px; }
.dgp-feature.dgp-rev .dgp-feature-media { order: 0; }
.dgp-cards.dgp-cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dgp-steps { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
.dgp-steps::before { display: none; }
}
@media (max-width: 767px) {
.dgp-hero { padding: 36px 0 32px; }
.dgp-hero h1 { font-size: 28px; }
.dgp-lead { font-size: 15.5px; }
.dgp-jump a { padding: 8px 14px; font-size: 13.5px; }
.dgp-section { padding: 46px 0; }
.dgp-head h2 { font-size: 25px; }
.dgp-head p { font-size: 15px; }
.dgp-cards, .dgp-cards.dgp-cols-3 { grid-template-columns: 1fr; }
.dgp-feature, .dgp-feature.dgp-rev { padding: 22px 18px; border-radius: 20px; }
.dgp-feature-media { min-height: 0; }
.dgp-feature-media img { max-height: 260px; }
.dgp-feature h3 { font-size: 23px; }
.dgp-check.dgp-cols { columns: 1; }
.dgp-steps, .dgp-steps.dgp-steps-5 { grid-template-columns: 1fr; }
.dgp-step { display: grid; grid-template-columns: 56px 1fr; gap: 0 14px; text-align: left; }
.dgp-step-num { width: 52px; height: 52px; font-size: 20px; margin: 0; grid-row: span 2; }
.dgp-steps-box { padding: 26px 18px; }
.dgp-inline-cta { padding: 22px 20px; }
.dgp-btn { width: 100%; text-align: center; }
.dgp-soon { padding: 36px 20px; }
}
@media (prefers-reduced-motion: reduce) { .dgp-soon-ico { animation: none; } }
