/* ===================================================================
   DBC · Zones d'Intervention — Design moderne & élégant
   =================================================================== */
.dbc-z-wrap {
    --dbc-z-primary: #0d4899;
    --dbc-z-accent:  #f49826;
    --dbc-z-light:   #eaf2fb;
    --dbc-z-ink:     #0a1929;
    --dbc-z-muted:   #6b6b6b;
    --dbc-z-border:  rgba(10,10,10,.10);
    --dbc-z-radius:  20px;
    font-family: inherit;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
    box-sizing: border-box;
}
.dbc-z-wrap *, .dbc-z-wrap *::before, .dbc-z-wrap *::after { box-sizing: border-box; }

/* ---------- Header ---------- */
.dbc-z-header { text-align: center; margin-bottom: 42px; }
.dbc-z-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--dbc-z-accent);
    margin-bottom: 14px;
    position: relative;
    padding: 0 18px;
}
.dbc-z-eyebrow::before, .dbc-z-eyebrow::after {
    content: ""; position: absolute; top: 50%; width: 24px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--dbc-z-accent));
}
.dbc-z-eyebrow::before { right: 100%; transform: scaleX(-1); }
.dbc-z-eyebrow::after  { left: 100%; }
.dbc-z-heading {
    font-size: clamp(1.9rem, 3.4vw, 2.8rem);
    line-height: 1.12;
    color: var(--dbc-z-primary);
    margin: 0 0 16px;
    font-weight: 800;
    letter-spacing: -.01em;
}
.dbc-z-sub {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--dbc-z-muted);
    max-width: 680px;
    margin: 0 auto;
}

/* ---------- Carte ---------- */
.dbc-z-map {
    border-radius: var(--dbc-z-radius);
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 24px 60px -28px rgba(10,10,10,.45);
    border: 1px solid var(--dbc-z-border);
    line-height: 0;
}
.dbc-z-map iframe { width: 100% !important; min-height: 380px; border: 0; display: block; }
.dbc-z-map-placeholder {
    position: relative;
    min-height: 280px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 14px;
    background:
        radial-gradient(circle at 20% 30%, rgba(252,203,0,.10), transparent 45%),
        radial-gradient(circle at 80% 70%, rgba(10,10,10,.12), transparent 50%),
        linear-gradient(135deg, #fffdf3, #fdf4cf);
    line-height: 1.4;
}
.dbc-z-map-placeholder::before {
    content: ""; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(10,10,10,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10,10,10,.06) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: radial-gradient(circle at center, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(circle at center, #000 30%, transparent 75%);
}
.dbc-z-map-pin {
    position: relative; z-index: 1;
    width: 64px; height: 64px; border-radius: 50%;
    display: grid; place-items: center;
    color: #fff; background: var(--dbc-z-primary);
    box-shadow: 0 14px 30px -8px rgba(10,10,10,.6);
    animation: dbc-z-bob 2.6s ease-in-out infinite;
}
@keyframes dbc-z-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.dbc-z-map-txt { position: relative; z-index: 1; font-weight: 700; color: var(--dbc-z-primary); font-size: 1.1rem; }

/* ---------- Grille d'activités ---------- */
.dbc-z-grid {
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.dbc-z-col {
    background: #fff;
    border: 1px solid var(--dbc-z-border);
    border-radius: var(--dbc-z-radius);
    padding: 24px 26px;
    position: relative;
    overflow: hidden;
    transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
}
.dbc-z-col::before {
    content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; height: 100%;
    background: linear-gradient(180deg, var(--dbc-z-primary), var(--dbc-z-accent));
    transform: scaleY(0); transform-origin: top;
    transition: transform .4s ease;
}
.dbc-z-col:hover { box-shadow: 0 24px 50px -30px rgba(10,10,10,.4); }
.dbc-z-col:hover::before { transform: scaleY(1); }

.dbc-z-col-head {
    display: flex; align-items: center; gap: 12px;
    padding-bottom: 16px; margin-bottom: 18px;
    border-bottom: 1px dashed var(--dbc-z-border);
}
.dbc-z-col-icon {
    flex: 0 0 auto;
    width: 44px; height: 44px; border-radius: 13px;
    display: grid; place-items: center;
    background: var(--dbc-z-light); color: var(--dbc-z-primary);
    transition: background .3s, color .3s, transform .3s;
}
.dbc-z-col-icon svg { width: 22px; height: 22px; }
.dbc-z-col:hover .dbc-z-col-icon { background: var(--dbc-z-primary); color: #fff; transform: rotate(-6deg) scale(1.05); }
.dbc-z-col-title {
    font-size: 1.22rem; font-weight: 800; color: var(--dbc-z-primary); line-height: 1.2;
}

/* ---------- Pills villes (grille horizontale) ---------- */
.dbc-z-cities {
    list-style: none; margin: 0; padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 9px;
}
.dbc-z-pill {
    display: flex; align-items: center; gap: 9px;
    padding: 10px 13px; border-radius: 12px;
    text-decoration: none;
    color: var(--dbc-z-ink);
    background: #fffef8;
    border: 1px solid var(--dbc-z-border);
    transition: background .25s, border-color .25s, transform .25s, box-shadow .25s;
    position: relative;
}
.dbc-z-pill-dot {
    flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%;
    background: var(--dbc-z-accent);
    transition: transform .25s, box-shadow .25s;
}
.dbc-z-pill-text { flex: 1; font-size: .92rem; font-weight: 600; line-height: 1.3; }
.dbc-z-pill-dept {
    flex: 0 0 auto; font-size: .7rem; font-weight: 700; letter-spacing: .04em;
    color: var(--dbc-z-muted); background: var(--dbc-z-light);
    padding: 3px 7px; border-radius: 999px;
    transition: background .25s, color .25s;
}
@media (hover: hover) and (pointer: fine) {
.dbc-z-pill:hover {
    background: var(--dbc-z-primary);
    border-color: var(--dbc-z-primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 22px -12px rgba(10,10,10,.35);
}
.dbc-z-pill:hover .dbc-z-pill-text { color: #fff; }
.dbc-z-pill:hover .dbc-z-pill-dot { transform: scale(1.5); box-shadow: 0 0 0 4px rgba(252,203,0,.28); }
.dbc-z-pill:hover .dbc-z-pill-dept { background: var(--dbc-z-accent); color: #fff; }
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .dbc-z-cities { grid-template-columns: 1fr 1fr; gap: 8px; }
    .dbc-z-col { padding: 20px 18px; }
    .dbc-z-header { margin-bottom: 30px; }
    .dbc-z-map iframe, .dbc-z-map-placeholder { min-height: 240px; }
    .dbc-z-pill-text { font-size: .85rem; }
}
@media (max-width: 460px) {
    .dbc-z-cities { grid-template-columns: 1fr; }
}

/* ---------- Apparition au scroll ---------- */
.dbc-z-col { opacity: 0; transform: translateY(24px); }
.dbc-z-col.dbc-z-in { opacity: 1; transform: translateY(0); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.dbc-z-col.dbc-z-in:nth-child(1) { transition-delay: .05s; }
.dbc-z-col.dbc-z-in:nth-child(2) { transition-delay: .13s; }
.dbc-z-col.dbc-z-in:nth-child(3) { transition-delay: .21s; }
.dbc-z-col.dbc-z-in:nth-child(4) { transition-delay: .29s; }
/* Fallback : si JS ne tourne pas, on montre tout */
.dbc-z-wrap.no-js .dbc-z-col { opacity: 1; transform: none; }
