/* Visuel « Développez votre communauté » écrit en HTML (remplace les images
   developper-communaute-commerce-*.webp, floues une fois recolorées).
   Couleur : var(--accent-orange), posée par accent.js (accueil : --orange,
   posée par le script inline d'index.html). Toutes les tailles sont
   en cqw (% de la largeur du visuel) : le rendu est le même dans la figure de
   l'article, la carte du blog et la carte de l'accueil.
   Utilisé par : developper-communaute-commerce.html, blog-delphine-champagne.html,
   index.html. */

.vc {
    container-type: inline-size;
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--accent-orange, var(--orange, #FF5722));
    color: #fff;
    font-family: 'Geist', system-ui, sans-serif;
    transition: transform 0.4s ease;
}

/* Angles proportionnels : 40px (réglage du site) sur un grand visuel,
   moins sur une petite carte pour garder les proportions. */
.vc,
.vc-carte {
    border-radius: min(40px, 7cqw) !important;
}

.blog-card:hover .vc {
    transform: scale(1.04);
}

.vc-tag {
    position: absolute;
    top: 8cqw;
    left: 9cqw;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 6.2cqw;
    letter-spacing: 0.03em;
    line-height: 1;
}

.vc-tag::after {
    content: '';
    display: block;
    height: 0.8cqw;
    margin-top: 1.4cqw;
    background: #161616;
}

.vc-carte {
    position: absolute;
    top: 21cqw;
    left: 6cqw;
    right: 5cqw;
    padding: 6.5cqw 7cqw 6cqw;
    background: #F5EEE4;
    color: #161616;
    transform: rotate(-2deg);
    box-shadow: 0 2.5cqw 5cqw rgba(0, 0, 0, 0.22);
}

.vc-sur {
    display: block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5.3cqw;
    white-space: nowrap;
    line-height: 1;
    color: var(--accent-orange, var(--orange, #FF5722));
    margin-bottom: 2cqw;
}

.vc-titre {
    display: block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 12.5cqw;
    line-height: 0.92;
    white-space: nowrap;
}

.vc-titre span {
    color: var(--accent-orange, var(--orange, #FF5722));
}

.vc-texte {
    position: absolute;
    top: 69cqw;
    left: 9cqw;
    right: 9cqw;
    margin: 0;
    font-size: 4.1cqw;
    font-weight: 600;
    line-height: 1.38;
}

.vc-signature {
    position: absolute;
    bottom: 7cqw;
    left: 9cqw;
    font-size: 3.1cqw;
    opacity: 0.85;
}
