/* =========================================================
Digitab – page Intelligence artificielle (ia.html)
Même langage visuel que l'accueil : cartes, blocs alternés,
animation d'apparition. Chargé après digitab-responsive.css
========================================================= */

/* --- Hero --- */
.dgi-hero {
position: relative; overflow: hidden; clear: both;
background: linear-gradient(135deg, #eaf6f6 0%, #ffffff 55%, #eef2f3 100%);
padding: 70px 0 80px;
}
.dgi-hero::before, .dgi-hero::after {
content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.dgi-hero::before { width: 520px; height: 520px; right: -160px; top: -200px; background: radial-gradient(circle, rgba(117,198,198,.35), rgba(117,198,198,0) 70%); }
.dgi-hero::after { width: 380px; height: 380px; left: -140px; bottom: -200px; background: radial-gradient(circle, rgba(25,160,173,.18), rgba(25,160,173,0) 70%); }
.dgi-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.dgi-kicker {
display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; 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;
}
.dgi-kicker-dot { width: 8px; height: 8px; border-radius: 50%; background: #19a0ad; animation: dgi-pulse 1.8s ease-in-out infinite; }
@keyframes dgi-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(25,160,173,.55); } 50% { box-shadow: 0 0 0 7px rgba(25,160,173,0); } }
.dgi-hero h1 {
font-family: 'Raleway', sans-serif; color: #21424f; font-weight: 800; font-size: 46px; line-height: 1.12;
letter-spacing: -.5px; margin: 0 0 18px;
}
.dgi-hero h1 .dgi-accent { color: #19a0ad; }
.dgi-hero-lead { font-size: 18px; line-height: 1.7; color: #33464f; margin: 0 0 28px; max-width: 560px; }
.dgi-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.dgi-btn {
display: inline-block; padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: 15px;
white-space: nowrap; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s;
}
.dgi-btn-primary { background: #21424f; color: #fff !important; box-shadow: 0 10px 24px rgba(33,66,79,.25); }
.dgi-btn-primary:hover { background: #19a0ad; transform: translateY(-2px); text-decoration: none; }
.dgi-btn-ghost { background: #fff; color: #21424f !important; border: 2px solid rgba(33,66,79,.18); }
.dgi-btn-ghost:hover { border-color: #19a0ad; transform: translateY(-2px); text-decoration: none; }
.dgi-hero-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.dgi-hero-points li { font-size: 14.5px; font-weight: 600; color: #21424f; display: flex; align-items: center; gap: 8px; }
.dgi-hero-points li::before {
content: "\2713"; width: 20px; height: 20px; border-radius: 50%; background: #19a0ad; color: #fff;
font-size: 11px; line-height: 20px; text-align: center; font-weight: 700; flex: none;
}

/* Visuel du hero + pastilles flottantes */
.dgi-hero-visual { position: relative; }
.dgi-hero-img {
background: #fff; border-radius: 28px; padding: 18px; box-shadow: 0 24px 60px rgba(33,66,79,.16);
transform: rotate(-1.5deg); transition: transform .4s ease;
}
.dgi-hero-visual:hover .dgi-hero-img { transform: rotate(0); }
.dgi-hero-img img { display: block; width: 100%; height: auto; border-radius: 18px; aspect-ratio: 4 / 3; object-fit: cover; object-position: 80% center; }
.dgi-chip {
position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 14px;
background: #fff; color: #21424f; font-size: 14px; font-weight: 700; white-space: nowrap;
box-shadow: 0 12px 30px rgba(33,66,79,.18); animation: dgi-float 5s ease-in-out infinite;
}
.dgi-chip span { font-size: 18px; line-height: 1; }
.dgi-chip-1 { top: 8%; left: -28px; }
.dgi-chip-2 { top: 44%; right: -22px; animation-delay: -1.7s; }
.dgi-chip-3 { bottom: 6%; left: 8%; animation-delay: -3.3s; }
@keyframes dgi-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* --- Bénéfices --- */
.dgi-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
.dgi-benefit {
display: flex; gap: 16px; align-items: flex-start; padding: 24px 22px; border-radius: 18px; background: #fff;
box-shadow: 0 4px 18px rgba(33,66,79,.07); transition: transform .25s ease, box-shadow .25s ease;
}
.dgi-benefit:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(33,66,79,.13); }
.dgi-benefit-ico {
flex: none; width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
background: rgba(117,198,198,.22); font-size: 26px; line-height: 1;
}
.dgi-benefit h3 { margin: 2px 0 6px; font-size: 17px; font-weight: 700; color: #21424f; }
.dgi-benefit p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #4b6570; }

/* --- Cartes services : liste à puces --- */
.dgi-services .dg-card { text-align: left; align-items: stretch; }
.dgi-services .dg-card-ico { justify-content: flex-start; height: 76px; }
.dgi-services .dg-card-ico img { max-height: 76px; margin: 0; }
.dgi-card-tag { margin: 0 0 14px !important; font-weight: 600; color: #19a0ad !important; }
.dgi-card-list { list-style: none; margin: auto 0 0; padding: 14px 0 0; border-top: 1px dashed rgba(33,66,79,.15); }
.dgi-card-list li { position: relative; padding-left: 22px; margin-bottom: 7px; font-size: 14px; color: #33464f; line-height: 1.5; }
.dgi-card-list li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: #75c6c6; }
.dg-reveal-6.dg-in { transition-delay: .48s; }

/* --- Méthode en 4 étapes --- */
.dgi-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; margin: 10px 0 0; padding: 0; }
.dgi-steps::before {
content: ""; position: absolute; top: 34px; left: 12.5%; right: 12.5%; height: 3px; border-radius: 3px;
background: linear-gradient(90deg, #75c6c6, #19a0ad, #21424f);
}
.dgi-step { position: relative; text-align: center; padding: 0 8px; }
.dgi-step-num {
position: relative; z-index: 1; width: 70px; height: 70px; margin: 0 auto 18px; border-radius: 50%;
display: flex; align-items: center; justify-content: center; background: #fff; color: #21424f;
font-size: 26px; font-weight: 800; border: 3px solid #19a0ad; box-shadow: 0 8px 22px rgba(33,66,79,.14);
transition: background .25s, color .25s, transform .25s;
}
.dgi-step:hover .dgi-step-num { background: #19a0ad; color: #fff; transform: scale(1.08); }
.dgi-step h3 { font-size: 19px; font-weight: 700; color: #21424f; margin: 0 0 8px; }
.dgi-step p { font-size: 14.5px; line-height: 1.6; color: #4b6570; margin: 0; }

/* --- Exemples par secteur --- */
.dgi-sector-ico { display: block; font-size: 40px; line-height: 1; margin-bottom: 14px; }
.dgi-sectors .dg-support-card { text-align: left; border-top: 4px solid #75c6c6; }
.dgi-sectors .dg-support-card ul { list-style: none; margin: 0; padding: 0; }
.dgi-sectors .dg-support-card li { position: relative; padding-left: 18px; margin-bottom: 6px; font-size: 14px; line-height: 1.5; color: #4b6570; }
.dgi-sectors .dg-support-card li::before { content: "\203A"; position: absolute; left: 2px; top: -1px; color: #19a0ad; font-weight: 700; font-size: 17px; }

/* --- Section FAQ --- */
.dgi-faq { background: #fff; }
.dgi-faq .dg-faq-item summary::marker { color: #19a0ad; }
.dgi-faq .dg-faq-item[open] summary { color: #19a0ad; }

/* Titres de section : style.css met .heading_main en float, ce qui
   écraserait les grilles qui suivent → on annule le flottement ici */
.dgi-bg-soft .heading_main, .dgi-bg-white .heading_main, .dgi-faq .heading_main { float: none; }
.dgi-benefits, .dgi-services, .dgi-steps, .dgi-sectors, .dgi-faq .dg-faq { clear: both; }

/* Fonds de sections */
.dgi-bg-soft { background: #f4f4f6; }
.dgi-bg-white { background: #fff; }

/* --- Responsive --- */
@media (max-width: 1199px) {
.dgi-hero h1 { font-size: 40px; }
.dgi-chip-1 { left: -10px; }
.dgi-chip-2 { right: -8px; }
}
@media (max-width: 991px) {
.dgi-hero { padding: 50px 0 60px; }
.dgi-hero-grid { grid-template-columns: 1fr; gap: 40px; }
.dgi-hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
.dgi-benefits { grid-template-columns: 1fr; }
.dgi-steps { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
.dgi-steps::before { display: none; }
}
@media (max-width: 767px) {
.dgi-hero { padding: 36px 0 48px; }
.dgi-hero h1 { font-size: 30px; }
.dgi-hero-lead { font-size: 16px; }
.dgi-btn { width: 100%; text-align: center; }
.dgi-chip { font-size: 12.5px; padding: 8px 12px; }
.dgi-chip-1 { left: 0; top: -14px; }
.dgi-chip-2 { right: 0; }
.dgi-chip-3 { left: 6%; bottom: -14px; }
.dgi-steps { grid-template-columns: 1fr; }
.dgi-step { display: grid; grid-template-columns: 60px 1fr; gap: 0 16px; text-align: left; align-items: start; padding: 0; }
.dgi-step-num { width: 56px; height: 56px; font-size: 22px; margin: 0; grid-row: span 2; }
}
@media (prefers-reduced-motion: reduce) {
.dgi-chip, .dgi-kicker-dot { animation: none; }
.dg-reveal-5, .dg-reveal-6 { opacity: 1; transform: none; transition: none; }
}
