/* ============================================================
   DEP-AVANTAGES — Bloc Compteurs Sunset
   Page: depannage-informatique uniquement
   Préfixe: dep-av-
   ============================================================ */

.dep-avantages {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.dep-av-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 40px;
    background: #0a0a1a;
    border-radius: 12px;
    border: 1px solid rgba(244, 114, 182, 0.12);
    position: relative;
    overflow: hidden;
}

/* Ligne décorative haut */
.dep-av-inner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(244,114,182,0.5), rgba(251,146,60,0.5), transparent);
}

/* --- Eyebrow --- */
.dep-av-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 10px;
    letter-spacing: 0.18em;
    font-family: 'Space Mono', monospace;
    color: #f472b6;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.dep-av-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f472b6;
    display: inline-block;
    animation: dep-av-pulse 2s infinite;
}

@keyframes dep-av-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(1.4); }
}

/* --- Titre --- */
.dep-av-title {
    text-align: center;
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 36px;
    font-family: 'Exo 2', sans-serif;
}

.dep-av-grad {
    background: linear-gradient(90deg, #f472b6, #fb923c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Grille 4 colonnes --- */
.dep-av-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 900px) {
    .dep-av-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
    .dep-av-grid { grid-template-columns: 1fr; }
    .dep-av-inner { padding: 28px 20px; }
}

/* --- Carte --- */
.dep-av-card {
    background: rgba(244, 114, 182, 0.04);
    border: 1px solid rgba(244, 114, 182, 0.1);
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.2s ease;
}

.dep-av-card:hover {
    border-color: rgba(244, 114, 182, 0.35);
    transform: translateY(-3px);
}

/* Lueur coin haut droit */
.dep-av-card::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 60px; height: 60px;
    background: radial-gradient(circle at top right, rgba(251,146,60,0.07), transparent 70%);
    pointer-events: none;
}

/* Barre animée bas de carte */
.dep-av-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, #f472b6, #fb923c);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

/* Animation au chargement via JS — classe ajoutée */
.dep-av-card.dep-av-animated::before {
    animation: dep-av-fillbar 1.5s ease forwards;
}

.dep-av-card:nth-child(1).dep-av-animated::before { animation-delay: 0s; }
.dep-av-card:nth-child(2).dep-av-animated::before { animation-delay: 0.2s; }
.dep-av-card:nth-child(3).dep-av-animated::before { animation-delay: 0.4s; }
.dep-av-card:nth-child(4).dep-av-animated::before { animation-delay: 0.6s; }

@keyframes dep-av-fillbar {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

/* --- Icône SVG --- */
.dep-av-ico {
    width: 26px;
    height: 26px;
    color: #f472b6;
    flex-shrink: 0;
}

/* --- Chiffre clé --- */
.dep-av-big {
    font-size: 40px;
    font-weight: 800;
    font-family: 'Space Mono', monospace;
    line-height: 1;
    background: linear-gradient(135deg, #f472b6, #fb923c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Unité sous le chiffre --- */
.dep-av-unit {
    font-size: 11px;
    color: rgba(244, 114, 182, 0.45);
    font-family: 'Space Mono', monospace;
    margin-top: -6px;
    letter-spacing: 0.06em;
}

/* --- Label titre carte --- */
.dep-av-label {
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    font-family: 'Exo 2', sans-serif;
}

/* --- Texte description --- */
.dep-av-txt {
    font-size: 11px;
    color: #8877aa;
    line-height: 1.55;
    margin: 0;
}

/* --- Tag métadonnée --- */
.dep-av-tag {
    font-size: 9px;
    font-family: 'Space Mono', monospace;
    letter-spacing: 0.1em;
    color: #f472b6;
    border: 1px solid rgba(244, 114, 182, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
    background: rgba(244, 114, 182, 0.05);
    display: inline-block;
}
