/* ═══════════════════════════════════════════════════════════
   VERDEKO USAGE BLOCKS — CSS
   Design system : #2F5C69 (titre), #4F934E/#3A8349 (vert),
   #F8F9F7 (fond cards), #EDEDEB (border), radius 10-12px
   ═══════════════════════════════════════════════════════════ */


/* ============================================
   [verdeko_usage_benefices]
   ============================================ */

.vk-usage-benefices {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.vk-ub-header {
    text-align: center;
    margin-bottom: 36px;
}

.vk-ub-surtitle {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #4F934E;
    margin: 0 0 8px 0;
}

.vk-ub-title {
    font-size: 32px;
    font-weight: 500;
    color: #2F5C69;
    line-height: 1.2;
    margin: 0;
}

/* Grille 2 colonnes desktop, 1 mobile */
.vk-ub-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.vk-ub-card {
    padding: 20px 18px;
    background: #F8F9F7;
    border: 1px solid #EDEDEB;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.vk-ub-card:hover {
    border-color: #4F934E;
    box-shadow: 0 2px 12px rgba(79, 147, 78, 0.08);
}

.vk-ub-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E8F5E9;
    border-radius: 9px;
    flex-shrink: 0;
    color: #3A8349;
}

.vk-ub-icon svg {
    width: 18px;
    height: 18px;
}

.vk-ub-content {
    flex: 1;
    min-width: 0;
}

.vk-ub-content strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    line-height: 1.35;
    margin-bottom: 4px;
}

.vk-ub-content span {
    font-size: 13.5px;
    font-weight: 400;
    color: #888;
    display: block;
    line-height: 1.5;
}


/* ============================================
   [verdeko_usage_faq]
   ============================================ */

.vk-usage-faq {
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
}

.vk-uf-header {
    text-align: center;
    margin-bottom: 32px;
}

.vk-uf-surtitle {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #4F934E;
    margin: 0 0 8px 0;
}

.vk-uf-title {
    font-size: 32px;
    font-weight: 500;
    color: #2F5C69;
    line-height: 1.2;
    margin: 0;
}

/* Accordion */
.vk-uf-accordion {
    border-top: 1px solid #e8e5df;
}

.vk-uf-item {
    border-bottom: 1px solid #e8e5df;
}

.vk-uf-question {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 0;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}

.vk-uf-q-icon {
    width: 28px;
    height: 28px;
    background: #4F934E;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.vk-uf-q-text {
    flex: 1;
    font-weight: 500;
    color: #2d3436;
    font-size: 16px;
    line-height: 1.4;
}

.vk-uf-toggle {
    font-size: 22px;
    color: #999;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.vk-uf-item.active .vk-uf-toggle {
    transform: rotate(45deg);
}

.vk-uf-answer {
    display: none;
    padding: 0 0 22px 42px;
    color: #636e72;
    line-height: 1.75;
    font-size: 15px;
}

.vk-uf-answer p {
    margin: 0 0 8px 0;
}

.vk-uf-answer p:last-child {
    margin-bottom: 0;
}

.vk-uf-answer a {
    color: #4F934E;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.vk-uf-answer a:hover {
    color: #3A8349;
}

.vk-uf-answer strong {
    color: #333;
    font-weight: 600;
}

.vk-uf-item.active .vk-uf-answer {
    display: block;
}


/* ============================================
   [verdeko_usage_n3] — 3 modes adaptatifs
   A = Icon cards (3-4 items)
   B = Banners horizontales (2 items)
   C = Tuiles visuelles (5+ items)
   ============================================ */

.vk-usage-n3 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

/* ── CONCEPT A : Icon cards grille ── */

.vk-un-grid-cards {
    display: grid;
    gap: 16px;
}
.vk-un-cols-3 { grid-template-columns: repeat(3, 1fr); }
.vk-un-cols-4 { grid-template-columns: repeat(4, 1fr); }

.vk-un-icard {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 28px 20px 24px;
    background: #FFFFFF;
    border: 1px solid #EDEDEB;
    border-radius: 12px;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.vk-un-icard:hover {
    border-color: #3A8349;
    box-shadow: 0 4px 16px rgba(58, 131, 73, 0.10);
    transform: translateY(-3px);
    text-decoration: none;
}

.vk-un-icard-icon {
    width: 52px;
    height: 52px;
    background: #E8F5E9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3A8349;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}
.vk-un-icard:hover .vk-un-icard-icon {
    background: #3A8349;
    color: #FFFFFF;
}
.vk-un-icard-icon svg {
    width: 22px;
    height: 22px;
}

.vk-un-icard-title {
    font-size: 15px;
    font-weight: 600;
    color: #2F5C69;
    line-height: 1.3;
}
.vk-un-icard-desc {
    font-size: 13px;
    color: #6B7280;
    line-height: 1.4;
}
.vk-un-icard-cta {
    font-size: 13px;
    font-weight: 600;
    color: #4F934E;
    margin-top: auto;
    padding-top: 4px;
    transition: color 0.2s;
}
.vk-un-icard:hover .vk-un-icard-cta {
    color: #2F5C69;
}

/* ── CONCEPT B : Banners horizontales ── */

.vk-un-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vk-un-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    background: #FFFFFF;
    border: 1px solid #EDEDEB;
    border-radius: 12px;
    text-decoration: none;
    transition: border-color 0.2s, background 0.15s, transform 0.15s;
}
.vk-un-banner:hover {
    border-color: #3A8349;
    background: #f7fbf7;
    transform: translateX(4px);
    text-decoration: none;
}

.vk-un-banner-icon {
    width: 44px;
    height: 44px;
    background: #E8F5E9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3A8349;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}
.vk-un-banner:hover .vk-un-banner-icon {
    background: #3A8349;
    color: #FFFFFF;
}
.vk-un-banner-icon svg {
    width: 20px;
    height: 20px;
}

.vk-un-banner-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.vk-un-banner-title {
    font-size: 15px;
    font-weight: 600;
    color: #2F5C69;
}
.vk-un-banner-desc {
    font-size: 13px;
    color: #6B7280;
}

.vk-un-banner-badge {
    background: #3A8349;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

.vk-un-banner-arrow {
    font-size: 20px;
    color: #ACACAC;
    flex-shrink: 0;
    transition: transform 0.2s, color 0.2s;
}
.vk-un-banner:hover .vk-un-banner-arrow {
    transform: translateX(4px);
    color: #3A8349;
}

/* ── CONCEPT C : Tuiles visuelles colorees ── */

.vk-un-grid-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.vk-un-tile {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    min-height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18px 20px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.vk-un-tile:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    text-decoration: none;
}

.vk-un-tile-arrow {
    position: absolute;
    top: 14px;
    right: 16px;
    font-size: 16px;
    color: rgba(255,255,255,0.5);
    transition: transform 0.2s, color 0.2s;
}
.vk-un-tile:hover .vk-un-tile-arrow {
    transform: translate(2px, -2px);
    color: rgba(255,255,255,0.9);
}

.vk-un-tile-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.vk-un-tile-title {
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    line-height: 1.25;
}
.vk-un-tile-desc {
    font-size: 12px;
    color: rgba(255,255,255,0.75);
    line-height: 1.35;
}


/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .vk-un-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .vk-un-grid-tiles {
        grid-template-columns: repeat(2, 1fr);
    }
    .vk-ub-title,
    .vk-uf-title {
        font-size: 26px;
    }
}

@media (max-width: 600px) {
    .vk-ub-grid {
        grid-template-columns: 1fr;
    }
    .vk-un-cols-3,
    .vk-un-cols-4 {
        grid-template-columns: 1fr;
    }
    .vk-un-icard {
        flex-direction: row;
        text-align: left;
        padding: 18px 20px;
        gap: 14px;
    }
    .vk-un-icard-icon {
        width: 42px;
        height: 42px;
    }
    .vk-un-icard-title { flex: 1; }
    .vk-un-icard-desc { display: none; }
    .vk-un-icard-cta { margin-top: 0; }
    .vk-un-grid-tiles {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .vk-un-tile {
        min-height: 100px;
        padding: 14px 16px;
    }
    .vk-un-tile-title { font-size: 13px; }
    .vk-un-tile-desc { display: none; }
    .vk-un-banner {
        padding: 14px 16px;
        gap: 12px;
    }
    .vk-un-banner-badge { display: none; }
    .vk-ub-title,
    .vk-uf-title {
        font-size: 22px;
    }
    .vk-uf-q-text {
        font-size: 15px;
    }
    .vk-uf-answer {
        padding-left: 0;
        font-size: 14px;
    }
}


/* ============================================
   [verdeko_usage_produits]
   Layout adaptatif — centrage + sizing auto
   Les cards produit héritent du style Woodmart
   ============================================ */

.vk-usage-produits {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

/* Forcer flexbox centré sur la grille WC */
.vk-usage-produits .products,
.vk-usage-produits ul.products {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 30px !important;
}

.vk-usage-produits .products > li,
.vk-usage-produits ul.products > li.product {
    margin: 0 !important;
    float: none !important;
}

/* ── 1 produit : centré ── */
.vk-up-count-1 {
    max-width: 380px;
}
.vk-up-count-1 .products > li,
.vk-up-count-1 ul.products > li.product {
    width: 100% !important;
}

/* ── 2 produits : côte à côte, un peu moins larges ── */
.vk-up-count-2 {
    max-width: 780px;
}
.vk-up-count-2 .products > li,
.vk-up-count-2 ul.products > li.product {
    width: calc(50% - 16px) !important;
}

/* ── 3 produits ── */
.vk-up-count-3 .products > li,
.vk-up-count-3 ul.products > li.product {
    width: calc(33.333% - 22px) !important;
}

/* ── 4 produits ── */
.vk-up-count-4 .products > li,
.vk-up-count-4 ul.products > li.product {
    width: calc(25% - 24px) !important;
}

/* ── 5+ produits : grille 3 cols ── */
.vk-up-count-5 .products > li,
.vk-up-count-5 ul.products > li.product {
    width: calc(33.333% - 22px) !important;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .vk-up-count-3 .products > li,
    .vk-up-count-3 ul.products > li.product,
    .vk-up-count-4 .products > li,
    .vk-up-count-4 ul.products > li.product,
    .vk-up-count-5 .products > li,
    .vk-up-count-5 ul.products > li.product {
        width: calc(50% - 16px) !important;
    }
}

@media (max-width: 600px) {
    .vk-usage-produits .products,
    .vk-usage-produits ul.products {
        gap: 20px !important;
    }
    .vk-usage-produits .products > li,
    .vk-usage-produits ul.products > li.product {
        width: 100% !important;
        max-width: 320px !important;
    }
}
