/* ===========================================
   CATEGORY PAGE — Mars 2026
   =========================================== */
.cv-w { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* HERO */
.cv-hero { position: relative; min-height: 260px; display: flex; align-items: flex-end; overflow: hidden; }
.cv-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.cv-hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.7) 100%); }
.cv-hero__inner { position: relative; z-index: 2; padding: 28px 20px; width: 100%; max-width: 1100px; margin: 0 auto; }
.cv-bc { margin-bottom: 8px; }
.cv-bc a, .cv-bc span, .cv-bc strong { font-size: 0.68rem; color: rgba(255,255,255,0.7); text-decoration: none; }
.cv-bc strong { color: #fff; }
.cv-bc span { margin: 0 4px; }
.cv-hero h1 { font-size: 1.6rem; font-weight: 800; color: #fff; margin: 0 0 6px; }
.cv-hero h1 span { color: #f97316; }
.cv-hero p { font-size: 0.85rem; color: rgba(255,255,255,0.85); margin: 0 0 10px; max-width: 500px; }
.cv-hero__stats { display: flex; gap: 8px; align-items: center; font-size: 0.72rem; color: rgba(255,255,255,0.7); font-weight: 600; }
.cv-hero__stats span:first-child { color: #f59e0b; }

/* PRODUCTS */
.cv-products { padding: 28px 0; }
.cv-products h2 { font-size: 1.2rem; font-weight: 800; color: #111827; margin: 0 0 16px; }
.cv-products h2 span { color: #e8590c; }
.cv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

/* Card */
.cv-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; }
.cv-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.cv-card__img { position: relative; aspect-ratio: 3/2; overflow: hidden; }
.cv-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.cv-card:hover .cv-card__img img { transform: scale(1.04); }
.cv-card__tag { position: absolute; top: 8px; left: 8px; background: #1e293b; color: #fff; font-size: 0.52rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; padding: 3px 8px; border-radius: 4px; }
.cv-card__body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; }
.cv-card__top { display: flex; align-items: center; justify-content: space-between; }
.cv-card__top strong { font-size: 0.85rem; color: #1e293b; }
.cv-card:hover .cv-card__top strong { color: #e8590c; }
.cv-card__stars { font-size: 0.6rem; color: #f59e0b; }
.cv-card__prices { display: flex; align-items: baseline; gap: 6px; }
.cv-card__low { font-size: 1rem; font-weight: 900; color: #16a34a; }
.cv-card__base { font-size: 0.72rem; color: #94a3b8; }
.cv-card__base s { text-decoration-thickness: 1.5px; text-decoration-color: #ef4444; }
.cv-card__unit { font-size: 0.65rem; color: #94a3b8; font-weight: 500; }
.cv-card__cta { font-size: 0.65rem; font-weight: 700; color: #94a3b8; transition: color 0.2s; }
.cv-card:hover .cv-card__cta { color: #e8590c; }

/* TARIFS */
.cv-tarifs { padding: 28px 0; background: #f8fafc; }
.cv-tarifs h2 { font-size: 1.2rem; font-weight: 800; color: #111827; margin: 0 0 4px; }
.cv-tarifs h2 span { color: #e8590c; }
.cv-tarifs__sub { font-size: 0.78rem; color: #64748b; margin: 0 0 16px; }
.cv-tarifs__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cv-tarifs__card { background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid #e5e7eb; }
.cv-tarifs__label { background: #1e293b; color: #fff; text-align: center; font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; padding: 6px; }
.cv-tarifs__card--alt .cv-tarifs__label { background: #64748b; }
.cv-tarifs .tablepress { width: 100%; border-collapse: collapse; }
.cv-tarifs .tablepress thead th { background: #f8fafc; color: #374151; font-size: 0.62rem; font-weight: 700; padding: 7px 5px; text-align: center; border-bottom: 1px solid #e5e7eb; }
.cv-tarifs .tablepress tbody td { font-size: 0.75rem; padding: 7px 5px; text-align: center; border-bottom: 1px solid #f1f5f9; }
.cv-tarifs .tablepress tbody tr:hover td { background: #fffbeb; }

/* SEO */
.cv-seo { padding: 28px 0; }
.cv-seo h2 { font-size: 1.1rem; font-weight: 800; color: #111827; margin: 0 0 12px; }
.cv-seo h2 span { color: #e8590c; }
.cv-seo__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }
.cv-seo p { font-size: 0.82rem; color: #374151; line-height: 1.65; margin: 0 0 10px; }
.cv-seo p strong { color: #111827; }
.cv-seo__features { display: flex; flex-direction: column; gap: 10px; padding: 20px; background: #f8fafc; border-radius: 10px; border: 1px solid #e5e7eb; }
.cv-seo__feat { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 600; color: #374151; }

/* SUGGESTED */
.cv-suggested { padding: 28px 0; background: #f8fafc; }
.cv-suggested h2 { font-size: 1.2rem; font-weight: 800; color: #111827; margin: 0 0 14px; }
.cv-suggested h2 span { color: #e8590c; }
.cv-suggest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cv-suggest-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; overflow: hidden; text-decoration: none; transition: transform 0.2s; }
.cv-suggest-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.cv-suggest-img { aspect-ratio: 3/2; overflow: hidden; }
.cv-suggest-img img { width: 100%; height: 100%; object-fit: cover; }
.cv-suggest-body { padding: 8px 10px; }
.cv-suggest-body strong { display: block; font-size: 0.78rem; color: #1e293b; }
.cv-suggest-card:hover .cv-suggest-body strong { color: #e8590c; }
.cv-suggest-body span { font-size: 0.75rem; font-weight: 700; color: #16a34a; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .cv-hero { min-height: 200px; }
    .cv-hero h1 { font-size: 1.2rem; }
    .cv-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .cv-tarifs__grid { grid-template-columns: 1fr; gap: 10px; }
    .cv-tarifs .tablepress thead th { font-size: 0.55rem; padding: 5px 3px; }
    .cv-tarifs .tablepress tbody td { font-size: 0.65rem; padding: 5px 3px; }
    .cv-seo__grid { grid-template-columns: 1fr; }
    .cv-suggest-grid { grid-template-columns: repeat(2, 1fr); }
    .cv-products, .cv-tarifs, .cv-seo, .cv-suggested { padding: 20px 0; }
}

@media (max-width: 480px) {
    .cv-w { padding: 0 14px; }
    .cv-hero h1 { font-size: 1.05rem; }
    .cv-tarifs .tablepress { min-width: 380px; }
    .cv-tarifs__card { overflow-x: auto; }
}
