/* ============================================================
   PHONY — Diagnostic IA : pages locales (100 km) + blocs d'accueil
============================================================ */

/* ---------- Liste des villes (hub, accueil) ---------- */
.dl-ring { margin: 0 0 28px; }
.dl-ring-title {
    margin: 0 0 12px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-blue, oklch(45% 0.19 260));
}
.dl-cities {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 10px;
}
.dl-city {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--gray-200, oklch(90% 0.01 260));
    background: #fff;
    color: var(--gray-900, oklch(20% 0.01 260));
    text-decoration: none;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.dl-city b { font-size: 15px; }
.dl-city span { font-size: 12px; color: var(--gray-700, oklch(45% 0.01 260)); }
.dl-city:hover,
.dl-city:focus-visible {
    transform: translateY(-2px);
    border-color: var(--primary-blue, oklch(45% 0.19 260));
    box-shadow: 0 10px 22px -16px oklch(40% 0.19 260 / 0.7);
}
.dl-note {
    margin: 8px 0 0;
    text-align: center;
    font-size: 14px;
    color: var(--gray-700, oklch(45% 0.01 260));
}
.dl-note a { color: var(--primary-blue, oklch(45% 0.19 260)); font-weight: 700; }

/* Cartes-liens (pannes fréquentes) */
a.dl-link-card {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
a.dl-link-card:hover,
a.dl-link-card:focus-visible { transform: translateY(-3px); }

/* ---------- Bloc « Diagnostic IA » de la page d'accueil ---------- */
.h-bolt {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    align-items: center;
    padding: 34px 36px;
    border-radius: 28px;
    color: #fff;
    background: linear-gradient(135deg, oklch(30% 0.17 262), oklch(42% 0.2 262));
    overflow: hidden;
    box-shadow: 0 30px 60px -32px oklch(30% 0.17 262 / 0.8);
}
.h-bolt::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: oklch(85% 0.21 85 / 0.14);
    pointer-events: none;
}
.h-bolt > * { position: relative; z-index: 1; }
.h-bolt-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: oklch(100% 0 0 / 0.14);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.h-bolt-kicker i { color: var(--accent-yellow, oklch(85% 0.21 85)); }
.h-bolt h2 { margin: 0 0 10px; font-size: clamp(1.5rem, 3.4vw, 2.2rem); line-height: 1.15; color: #fff; }
.h-bolt h2 em { font-style: normal; color: var(--accent-yellow, oklch(85% 0.21 85)); }
.h-bolt-sub { margin: 0 0 18px; font-size: 16px; line-height: 1.5; color: oklch(95% 0.02 260); }
.h-bolt-points {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    display: grid;
    gap: 8px;
}
.h-bolt-points li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.h-bolt-points i { color: var(--accent-yellow, oklch(85% 0.21 85)); }
.h-bolt-offer { margin: 16px 0 0; font-size: 13px; color: oklch(88% 0.04 260); }
.h-bolt-offer a { color: #fff; font-weight: 700; text-underline-offset: 3px; }

.h-bolt-demo {
    display: grid;
    gap: 10px;
    padding: 18px;
    border-radius: 22px;
    background: oklch(100% 0 0 / 0.1);
    border: 1px solid oklch(100% 0 0 / 0.18);
    backdrop-filter: blur(4px);
}
.h-bolt-demo-head { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 14px; }
.h-bolt-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--accent-yellow, oklch(85% 0.21 85));
    border: 2px solid oklch(100% 0 0 / 0.4);
    flex: 0 0 auto;
}
.h-bolt-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; display: block; }
.h-bolt-demo-head small { display: block; font-weight: 600; opacity: 0.8; }
.h-bolt-msg { max-width: 92%; padding: 10px 13px; border-radius: 16px; font-size: 14px; line-height: 1.4; }
.h-bolt-msg--user { justify-self: end; background: var(--accent-yellow, oklch(85% 0.21 85)); color: oklch(25% 0.05 260); border-bottom-right-radius: 4px; font-weight: 600; }
.h-bolt-msg--bot { background: #fff; color: oklch(25% 0.02 260); border-bottom-left-radius: 4px; }
.h-bolt-demo-tag { margin: 2px 0 0; font-size: 11px; opacity: 0.7; text-align: center; }

@media (max-width: 860px) {
    .h-bolt { grid-template-columns: 1fr; padding: 26px 22px; border-radius: 22px; }
}
@media (max-width: 560px) {
    /* Mobile : on va droit à l'accroche et aux boutons, sans l'exemple de conversation */
    .h-bolt-demo { display: none; }
}
