/*
 * VineCARD landing — sezioni della home (caricato solo dal layout home via LandingAsset).
 * Adattato da sito/mockup/06-modulare/index.html. Classi namespaced `vc-`.
 * Token brand da common/assets/brand/css/brand.css. Mobile-first con media 980/600.
 */

.vc-eyebrow { /* gia in brand-components, ribadito per sicurezza in contesto landing */ }

/* ---- Hero ---- */
.vc-hero {
    position: relative;
    padding: 64px 0 80px;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 20%, var(--gold-tint), transparent 26%),
        radial-gradient(circle at 88% 80%, var(--wine-tint), transparent 28%),
        var(--cream);
}
.vc-hero .dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--gray-light) 1.5px, transparent 1.6px);
    background-size: 26px 26px;
    opacity: .35;
    z-index: 0;
}
.vc-hero .hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: 48px;
    align-items: center;
}
.vc-hero h1 { margin-bottom: 18px; }
/* --gold su --cream da' 2,61:1: sotto il 3:1 richiesto anche per il testo grande. */
.vc-hero h1 em { font-style: normal; color: var(--gold-dark); }
.vc-hero .lede {
    font-size: 1.15rem;
    color: var(--ink);
    max-width: 520px;
    margin: 16px 0 26px;
}
.vc-hero .cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}
.vc-hero .chips { display: flex; gap: 10px; flex-wrap: wrap; }

/* card cluster */
/*
 * Le tre card sono posizionate in assoluto per dare l'effetto "cluster":
 * min-height e le percentuali di c2/c3 vanno tenute d'accordo con la
 * lunghezza dei testi, altrimenti c2 (z-index piu' alto) copre c3.
 * Sotto i 600px tornano tutte statiche e impilate: vedi il media query.
 */
.vc-cluster { position: relative; min-height: 520px; }
.vc-cluster .card {
    position: absolute;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 18px 44px rgba(122, 18, 38, .12);
    padding: 20px;
}
.vc-cluster .c1 { top: 0; left: 4%; width: 64%; z-index: 2; }
.vc-cluster .c2 { top: 28%; right: 0; width: 52%; z-index: 3; }
.vc-cluster .c3 { bottom: 0; left: 0; width: 58%; z-index: 2; }
.vc-cluster .ct {
    font-size: .75rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--gray);
    font-weight: 700;
    margin-bottom: 12px;
}
.vc-cluster .c1 svg { width: 100%; height: 96px; display: block; }
.vc-cluster .c2 .strategy { display: flex; align-items: flex-start; gap: 12px; }
.vc-cluster .c2 .ic {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: var(--gold-tint);
    display: grid; place-items: center;
    flex: none;
}
.vc-cluster .c2 .ic svg {
    width: 24px; height: 24px;
    fill: none; stroke: var(--gold); stroke-width: 2;
    stroke-linecap: round; stroke-linejoin: round;
}
.vc-cluster .c2 .stl { font-size: .82rem; color: var(--gray); margin-bottom: 2px; }
.vc-cluster .c2 .stv { font-size: 1rem; font-weight: 800; color: var(--wine); line-height: 1.3; }
/* Griglia e non flex: le tre etichette vanno a capo su colonne di pari larghezza. */
.vc-cluster .c3 .kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: start; }
.vc-cluster .c3 .k .n { font-size: 1.6rem; font-weight: 800; color: var(--wine); line-height: 1; }
.vc-cluster .c3 .k .l {
    font-size: .75rem;
    letter-spacing: .04em;
    line-height: 1.25;
    text-transform: uppercase;
    color: var(--gray);
    font-weight: 600;
    margin-top: 4px;
}

/* ---- Project sheet ---- */
.vc-sheet {
    background: var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 30px 0;
}
.vc-sheet .sheet-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}
.vc-sheet .cell {
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 20px;
}
.vc-sheet .label {
    font-size: .75rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--gold-text); /* era --gold: 2,86:1 su --cream */
    margin-bottom: 8px;
    font-weight: 700;
}
.vc-sheet .value { font-size: 1.3rem; font-weight: 800; color: var(--ink); line-height: 1.1; }
.vc-sheet .value.sm { font-size: 1rem; line-height: 1.25; }
/* Un intervallo di date puo' andare a capo fra le due date, mai dentro una data. */
.vc-sheet .value .nb { white-space: nowrap; }
.vc-sheet .value small {
    display: block;
    font-size: .75rem;
    color: var(--gray);
    font-weight: 500;
    margin-top: 4px;
}

/* ---- Section generic ---- */
.vc-sec { padding: 80px 0; }
.vc-sechead { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.vc-sechead .vc-eyebrow { margin-bottom: 12px; display: inline-block; }
.vc-sechead h2 { margin-bottom: 14px; }
.vc-sechead .lede { font-size: 1.1rem; color: var(--gray); }

/* ---- Intro ---- */
.vc-intro { background: var(--paper); }
.vc-intro .intro-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    align-items: center;
}
.vc-intro .copy h2 { margin-bottom: 18px; }
.vc-intro .copy p { margin-bottom: 14px; color: var(--ink); }
.vc-intro .copy p strong { color: var(--wine); }
.vc-intro .intro-visual {
    position: relative;
    min-height: 420px;
    border-radius: 22px;
    /* placeholder gradient (foto reali dopo) */
    background:
        radial-gradient(circle at 30% 20%, var(--gold-tint), transparent 55%),
        linear-gradient(150deg, var(--wine-tint), var(--cream));
    overflow: hidden;
    box-shadow: 0 22px 50px rgba(74, 74, 74, .14);
}
.vc-intro .intro-visual .badge {
    position: absolute;
    bottom: 20px; left: 20px;
    z-index: 2;
    background: #fff;
    border-radius: 16px;
    padding: 14px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
}
.vc-intro .intro-visual .badge strong {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--wine);
    line-height: 1;
}
.vc-intro .intro-visual .badge span {
    font-size: .75rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--gray);
    font-weight: 600;
}

/* ---- Azioni ---- */
.vc-azioni { background: var(--cream); }
.vc-azioni .azioni-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vc-azioni .step {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 26px;
    transition: transform .2s, box-shadow .2s;
}
.vc-azioni .step:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(122, 18, 38, .1); }
.vc-azioni .num {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--gold-tint);
    color: var(--gold-dark);
    display: grid; place-items: center;
    font-weight: 800;
    margin-bottom: 14px;
}
.vc-azioni .step:nth-child(3n+1) .num { background: var(--wine-tint); color: var(--wine); }
.vc-azioni h3 { margin-bottom: 8px; color: var(--ink); font-size: 1.12rem; }
.vc-azioni .step p { color: var(--gray); font-size: .93rem; }
.vc-azioni .step.accent {
    background: var(--gold-tint);
    border-color: transparent;
    display: flex; flex-direction: column; justify-content: center;
}
.vc-azioni .step.accent h3, .vc-azioni .step.accent p { color: var(--gold-dark); }

/* ---- Obiettivi ---- */
.vc-obiettivi { background: var(--cream); }
.vc-obiettivi .obiettivi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vc-obiettivi .item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 34px 28px;
    transition: transform .25s, box-shadow .25s;
    position: relative;
    overflow: hidden;
}
.vc-obiettivi .item::before {
    content: "";
    position: absolute;
    top: -30px; right: -30px;
    width: 90px; height: 90px;
    border-radius: 50%;
    background: var(--gold-tint);
    opacity: .7;
}
.vc-obiettivi .item:nth-child(2)::before { background: var(--wine-tint); }
.vc-obiettivi .item:hover { transform: translateY(-5px); box-shadow: 0 22px 50px rgba(122, 18, 38, .12); }
.vc-obiettivi .item .ico {
    width: 56px; height: 56px;
    display: grid; place-items: center;
    background: var(--wine);
    border-radius: 16px;
    margin-bottom: 18px;
    position: relative;
}
.vc-obiettivi .item .ico svg {
    width: 30px; height: 30px;
    fill: none; stroke: #fff; stroke-width: 2;
    stroke-linecap: round; stroke-linejoin: round;
}
.vc-obiettivi .item h3 { margin-bottom: 10px; color: var(--ink); font-size: 1.2rem; position: relative; }
.vc-obiettivi .item p { color: var(--gray); font-size: .96rem; position: relative; }

/* ---- Risultati attesi ---- */
.vc-risultati { background: var(--paper); }
.vc-risultati .risultati-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vc-risultati .item { transition: transform .25s, box-shadow .25s; }
.vc-risultati .item:hover { transform: translateY(-5px); box-shadow: 0 22px 50px rgba(122, 18, 38, .16); }
.vc-risultati .item .step {
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .08em;
    color: var(--gold-text); /* era --gold */
    margin-bottom: 12px;
}
.vc-risultati .item h3 { font-size: 1.12rem; margin-bottom: 10px; color: var(--ink); line-height: 1.3; }
.vc-risultati .item p { color: var(--gray); font-size: .95rem; margin: 0; }

/* ---- Destinatari ---- */
.vc-destinatari { background: var(--paper); }
.vc-destinatari .destinatari-grid {
    display: grid;
    grid-template-columns: .8fr 1.6fr;
    gap: 44px;
    align-items: center;
}
.vc-destinatari .figure {
    background: linear-gradient(150deg, var(--wine), var(--wine-dark));
    color: #fff;
    border-radius: 22px;
    padding: 44px 28px;
    text-align: center;
}
.vc-destinatari .figure .big {
    font-size: clamp(2.6rem, 6vw, 3.6rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
}
.vc-destinatari .figure .label {
    font-size: .75rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 700;
    color: #ffd9a0;
}
.vc-destinatari .copy h2 { margin: 10px 0 14px; }
.vc-destinatari .copy p { color: var(--gray); margin-bottom: 12px; }

/* ---- Partner ---- */
.vc-partner { background: var(--paper); }
.vc-partner .capofila-card {
    background: linear-gradient(150deg, var(--wine), var(--wine-dark));
    color: #fff;
    padding: 32px;
    border-radius: 22px;
    margin-bottom: 28px;
    display: grid;
    grid-template-columns: 1.1fr 1.4fr;
    gap: 36px;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.vc-partner .capofila-card .dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .14) 1.5px, transparent 1.6px);
    background-size: 22px 22px;
    opacity: .5;
}
.vc-partner .capofila-card > div { position: relative; z-index: 1; }
.vc-partner .capofila-card .label {
    font-size: .75rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #ffd9a0;
    margin-bottom: 12px;
    font-weight: 700;
}
.vc-partner .capofila-card h3 { color: #fff; font-size: 1.5rem; margin-bottom: 12px; line-height: 1.2; }
.capofila-card  h3  a { color: #dcdcdc; }
.vc-partner .capofila-card .capofila-claim { color: #fff; margin-bottom: 10px; font-size: 1.5rem; }
.vc-partner .capofila-card p { font-size: .95rem; opacity: .93; }
.vc-partner .partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.vc-partner .pcard {
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 22px 18px;
    text-align: center;
    transition: transform .2s, box-shadow .2s;
}
.vc-partner .pcard:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(74, 74, 74, .1); }
.vc-partner .pcard .seal {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: #fff;
    border: 2px solid var(--gold-dark); /* --gold su bianco = 2,86:1, sotto il 3:1 per elementi non testuali */
    display: grid; place-items: center;
    color: var(--wine);
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0 auto 12px;
}
/* Logo partner.
   Lo slot ha altezza fissa: le card restano allineate qualunque cosa contengano,
   logo o sigillo. Dentro lo slot, .plogo e' una finestra delle dimensioni
   calcolate da Partner::getLogoBox() — dimensioni e offset dell'immagine
   arrivano inline da PHP, che ritaglia i margini bianchi e pareggia l'area
   ottica dei loghi. Qui serve solo che la finestra ritagli davvero. */
.vc-partner .pcard .plogo-slot {
    height: 72px;
    margin-bottom: 14px;
    display: grid;
    place-items: center;
    /* Piastrella bianca: alcuni loghi hanno il fondo bianco dentro il file e su
       cartoncino crema formerebbero riquadri a caso. Dandola a tutti, il bianco
       dei file sparisce dentro quello della piastrella. */
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 6px 10px;
}
.vc-partner .pcard .plogo { display: block; overflow: hidden; }
.plogo img { display: block; max-width: none; }
.vc-partner .pcard h3 { font-size: .98rem; font-weight: 700; color: var(--ink); margin-bottom: 5px; line-height: 1.25; }
.vc-partner .pcard small {
    font-size: .75rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--gray);
    font-weight: 600;
}
.vc-partner .pcard .loc { font-size: .75rem; color: var(--gray); margin-top: 4px; }
/* La card "Tutti i partner" è un link: neutralizzo lo stile anchor. */
.vc-partner a.pcard { display: block; text-decoration: none; color: inherit; }
.vc-partner .pcard.accent { background: var(--gold-tint); border-color: transparent; }
.vc-partner .pcard.accent .seal { border-color: var(--wine); }
.vc-partner .pcard.accent h4 { color: var(--wine); }

/* Logo capofila sul fondo vinaccia: box bianco, i loghi non sono trasparenti. */
.vc-partner .capofila-card .clogo {
    background: #fff;
    border-radius: 12px;
    padding: 12px 16px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 14px;
}
.vc-partner .capofila-card .clogo .plogo { display: block; overflow: hidden; }
.vc-partner .capofila-card .contact { font-size: .95rem; opacity: .93; margin: 0; }
.vc-partner .capofila-card .contact a { color: #ffd9a0; }

/* Varianti "pagina interna": la sezione vive dentro il layout main, che ha già
   il proprio padding e il proprio sfondo. */
/* Varianti "pagina interna": la sezione sta dentro il .container del layout main,
   che ha gia' il suo padding. Il fondo di sezione va tolto: a tutta pagina e'
   invisibile, dentro al container diventa un pannello incollato alle card.
   Selettore doppio (.vc-news.vc-news--page) per non dipendere dall'ordine delle
   regole: la dichiarazione del fondo sta piu' in basso nel file. */
.vc-partner.vc-partner--page,
.vc-news.vc-news--page {
    background: none;
    padding: 0;
}
/* Le pagine interne allineano a sinistra. Serve anche azzerare il margin-left:
   la regola base centra il blocco con `margin: 0 auto` e max-width 760px, per cui
   il titolo restava rientrato rispetto alla griglia sottostante. */
.vc-partner--page .vc-sechead,
.vc-news--page .vc-sechead {
    text-align: left;
    margin: 0 0 28px;
    max-width: 760px;
}

/* ---- News + Eventi ---- */
/* Stesse card per le due sezioni: stesso markup, stessa resa. */
.vc-news, .vc-eventi { background: var(--paper); }
:is(.vc-news, .vc-eventi) .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
:is(.vc-news, .vc-eventi) article {
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    /* Colonna: il corpo si espande e le card della riga restano alte uguali
       anche con testi di lunghezza diversa. */
    display: flex;
    flex-direction: column;
    /* Ombra a riposo: senza, le card sembrano incollate allo sfondo. */
    box-shadow: 0 6px 18px rgba(74, 74, 74, .06);
    transition: transform .25s, box-shadow .25s;
}
:is(.vc-news, .vc-eventi) article:hover { transform: translateY(-4px); box-shadow: 0 22px 48px rgba(74, 74, 74, .13); }
:is(.vc-news, .vc-eventi) .body { flex: 1; }

/* Notizia senza immagine: niente riquadro vuoto: al suo posto un filetto di
   testata, che dà alla card un appoggio visivo senza fingere una foto. */
:is(.vc-news, .vc-eventi) article.no-image::before {
    content: "";
    display: block;
    height: 4px;
    background: linear-gradient(90deg, var(--wine), var(--gold));
}
:is(.vc-news, .vc-eventi) article.no-image .body { padding: 26px 24px; }
:is(.vc-news, .vc-eventi) .thumb {
    aspect-ratio: 16 / 10;
    /* placeholder gradient (foto reali dopo) */
    background: linear-gradient(150deg, var(--wine-tint), var(--gold-tint));
    position: relative;
}
:is(.vc-news, .vc-eventi) .thumb .chip {
    position: absolute;
    top: 12px; left: 12px;
    background: #fff;
    color: var(--wine);
    display: inline-block;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: .75rem;
    font-weight: 700;
}
:is(.vc-news, .vc-eventi) .body { padding: 22px; }
:is(.vc-news, .vc-eventi) .date {
    font-size: .75rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--gold-text); /* era --gold: 2,86:1 su bianco */
    font-weight: 700;
    margin-bottom: 8px;
}
:is(.vc-news, .vc-eventi) h3 { font-size: 1.12rem; margin-bottom: 9px; line-height: 1.25; color: var(--ink); }
:is(.vc-news, .vc-eventi) article p { color: var(--gray); font-size: .93rem; margin-bottom: 12px; }
:is(.vc-news, .vc-eventi) .more { font-size: .8125rem; font-weight: 700; color: var(--wine); }

/* ---- CTA ---- */
.vc-cta { padding: 74px 0; }
.vc-cta .inner {
    /*
     * Era linear-gradient(150deg, var(--gold), #b8760d) con testo bianco:
     * 2,86:1 all'estremo chiaro, molto sotto il 4,5:1 richiesto. Il gradiente
     * e' stato scurito (5,26:1 e 7,15:1 ai due estremi) mantenendo il bianco:
     * la CTA resta oro, ma leggibile.
     */
    background: linear-gradient(150deg, var(--gold-text), #7d4d06);
    color: #fff;
    border-radius: 28px;
    padding: 54px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.vc-cta .dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .18) 1.6px, transparent 1.7px);
    background-size: 24px 24px;
    opacity: .5;
}
.vc-cta h2, .vc-cta p, .vc-cta a, .vc-cta .vc-chip { position: relative; z-index: 1; }
.vc-cta .vc-chip { display: inline-block; margin-bottom: 16px; background: #fff; color: var(--gold-dark); }
.vc-cta h2 { color: #fff; margin-bottom: 14px; }
.vc-cta p { font-size: 1.2rem; color: #fff; opacity: .95; max-width: 600px; margin: 0 auto 26px; font-weight: 400; }
.vc-cta p.detail { font-size: 1rem; opacity: .9; max-width: 660px; }
.vc-cta p.note {
    font-size: .95rem;
    font-weight: 700;
    opacity: 1;
    margin-bottom: 0;
    display: inline-block;
    border-top: 1px solid rgba(255, 255, 255, .35);
    padding-top: 16px;
}

/* ---- Responsive ---- */
@media (max-width: 980px) {
    .vc-hero .hero-grid,
    .vc-intro .intro-grid,
    .vc-destinatari .destinatari-grid,
    .vc-partner .capofila-card { grid-template-columns: 1fr; gap: 36px; }
    .vc-risultati .risultati-grid { grid-template-columns: 1fr; }
    .vc-cluster { min-height: 380px; }
    .vc-sheet .sheet-row { grid-template-columns: repeat(2, 1fr); }
    .vc-azioni .azioni-grid,
    .vc-partner .partner-grid { grid-template-columns: repeat(2, 1fr); }
    .vc-obiettivi .obiettivi-grid,
    :is(.vc-news, .vc-eventi) .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .vc-sheet .sheet-row,
    .vc-azioni .azioni-grid,
    .vc-partner .partner-grid,
    .vc-obiettivi .obiettivi-grid,
    :is(.vc-news, .vc-eventi) .news-grid { grid-template-columns: 1fr; }
    .vc-cluster { min-height: 0; }
    .vc-cluster .c1,
    .vc-cluster .c2,
    .vc-cluster .c3 {
        position: relative;
        width: 100%;
        left: 0; right: 0; top: 0; bottom: 0;
        margin-bottom: 16px;
    }
}

/* ---- Avanzamento (barre progress) ---- */
.vc-progress { margin: 0 0 28px; }
.vc-progress__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.vc-progress__label { font-weight: 700; color: var(--ink); }
.vc-progress__val { font-weight: 800; color: var(--wine); }
.vc-progress__track {
    height: 12px;
    border-radius: 999px;
    background: var(--gray-light);
    overflow: hidden;
}
.vc-progress__bar {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--wine), var(--gold));
    transition: width .4s ease;
}

/* ---- WP cards (azioni con avanzamento) ---- */
.vc-azioni .wp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vc-wp-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 24px;
    transition: transform .2s, box-shadow .2s;
}
.vc-wp-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(122, 18, 38, .1); }
.vc-wp-card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.vc-wp-card .num {
    width: 44px; height: 28px;
    border-radius: 999px;
    background: var(--wine-tint);
    color: var(--wine);
    display: grid; place-items: center;
    font-weight: 800; font-size: .85rem;
}
.vc-wp-card h3 { margin-bottom: 8px; color: var(--ink); font-size: 1.08rem; }
.vc-wp-card p { color: var(--gray); font-size: .9rem; margin-bottom: 14px; }
.vc-wp-card__val { text-align: right; font-weight: 800; font-size: .85rem; color: var(--gray); margin-top: 6px; }
.vc-wp-card.accent {
    background: var(--gold-tint);
    border-color: transparent;
    display: flex; flex-direction: column; justify-content: center;
}
.vc-wp-card.accent h3, .vc-wp-card.accent p { color: var(--gold-dark); }



@media (max-width: 768px) {
    .vc-azioni .wp-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .vc-azioni .wp-grid { grid-template-columns: 1fr; }
}

/* ============================================================
 * Accessibilita' — aggiunte
 * ============================================================ */


/*
 * ---- Focus visibile sulle card ----
 * Le card si sollevavano solo su :hover, ma contengono link: chi naviga da
 * tastiera non riceveva alcun riscontro. :focus-within replica l'effetto.
 */
.vc-azioni .step:focus-within { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(122, 18, 38, .1); }
.vc-obiettivi .item:focus-within { transform: translateY(-5px); box-shadow: 0 22px 50px rgba(122, 18, 38, .12); }
.vc-risultati .item:focus-within { transform: translateY(-5px); box-shadow: 0 22px 50px rgba(122, 18, 38, .16); }
.vc-partner .pcard:focus-within { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(74, 74, 74, .1); }
.vc-wp-card:focus-within { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(122, 18, 38, .1); }
:is(.vc-news, .vc-eventi) article:focus-within { transform: translateY(-4px); box-shadow: 0 22px 48px rgba(74, 74, 74, .13); }

/*
 * overflow:hidden sui contenitori che ospitano link ritagliava l'alone di
 * focus. overflow:clip con clip-margin lascia respirare l'outline mantenendo
 * il ritaglio degli sfondi decorativi.
 */
@supports (overflow: clip) {
    .vc-obiettivi .item,
    .vc-partner .capofila-card,
    :is(.vc-news, .vc-eventi) article,
    .vc-cta .inner {
        overflow: clip;
        overflow-clip-margin: 6px;
    }
}

