/**
 * catalog-redesign.css
 * Refonte des catalog cards inspirée du component service-card de Claude Design.
 * Charte : éditorial, Cormorant titre, prix italique or, hover border or.
 *
 * Surcharge home.css (chargée AVANT). Spécificité plus haute via .catalog-row .catalog-card
 * pour gagner sur les règles existantes sans !important.
 */

/* ============================================================
   Catalog row header — typo Cormorant
   ============================================================ */
.catalog-row__header h3 {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    font-size: 1.625rem;
    letter-spacing: -0.005em;
    color: var(--color-fg);
}

.catalog-row__header i {
    color: var(--color-gold);
}

.catalog-row__count {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-gold);
    opacity: 0.75;
}

/* ============================================================
   CATALOG CARD — Style Claude Design éditorial
   ============================================================ */
.catalog-row .catalog-card {
    position: relative;
    background: var(--color-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    padding: 0;
    overflow: hidden;
    transition:
        border-color 0.32s var(--ease-out),
        transform 0.32s var(--ease-out),
        box-shadow 0.32s var(--ease-out);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.catalog-row .catalog-card:hover {
    border-color: var(--color-gold-line);
    transform: translateY(-3px);
    box-shadow:
        0 16px 56px rgba(0, 0, 0, 0.55),
        0 0 60px rgba(201, 169, 98, 0.06),
        inset 0 1px 0 rgba(201, 169, 98, 0.1);
}

/* Image container — ratio plus discret (5:4 plutôt que 4:3) */
.catalog-row .catalog-card__image {
    aspect-ratio: 5 / 4;
    border-radius: 0;
    background: rgba(201, 169, 98, 0.04);
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.catalog-row .catalog-card__image img {
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
    filter: saturate(0.92) brightness(0.94);
}

.catalog-row .catalog-card:hover .catalog-card__image img {
    transform: scale(1.04);
    filter: saturate(1) brightness(1);
}

/* Subtle gradient overlay sur image au hover */
.catalog-row .catalog-card__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(10, 10, 10, 0.6) 100%);
    opacity: 0.5;
    transition: opacity 0.32s var(--ease-out);
    pointer-events: none;
}

.catalog-row .catalog-card:hover .catalog-card__image::after {
    opacity: 0.3;
}

/* Badge plus discret style Claude Design */
.catalog-row .catalog-card__badge {
    top: 14px;
    left: 14px;
    background: rgba(10, 10, 10, 0.85);
    color: var(--color-gold);
    border: 1px solid var(--color-gold-line);
    border-radius: 999px;
    padding: 6px 12px;
    font-family: var(--font-body);
    font-size: 9px;
    letter-spacing: 0.2em;
    backdrop-filter: blur(8px);
}

/* Content padding plus généreux */
.catalog-row .catalog-card__content {
    padding: 22px 22px 24px;
    gap: 8px;
}

/* Eyebrow service name — uppercase or letter-spacing serré */
.catalog-row .catalog-card__service {
    font-family: var(--font-body);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 8px;
    opacity: 0.85;
}

/* Titre Cormorant medium — éditorial */
.catalog-row .catalog-card__title {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.005em;
    color: var(--color-fg);
    margin: 0 0 6px;
}

.catalog-row .catalog-card__desc {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 300;
    line-height: 1.55;
    color: var(--color-fg-2);
    margin: 0 0 14px;
    -webkit-line-clamp: 2;
}

/* Prix — italique or signature Claude Design */
.catalog-row .catalog-card__price {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    align-items: baseline;
    gap: 6px;
}

.catalog-row .catalog-card__price-from {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-fg-muted);
}

.catalog-row .catalog-card__price-amount {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    font-size: 1.5rem;
    letter-spacing: -0.01em;
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 60%, var(--color-gold-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Lien Plus d'infos plus subtil + souligné or */
.catalog-row .catalog-card__link {
    margin-top: 14px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-gold);
    border-bottom: 1px solid var(--color-gold-line);
    padding-bottom: 4px;
    width: fit-content;
    transition:
        color 0.18s var(--ease-out),
        border-color 0.18s var(--ease-out),
        gap 0.18s var(--ease-out);
}

.catalog-row .catalog-card__link:hover {
    color: var(--color-gold-light);
    border-bottom-color: var(--color-gold);
    gap: 12px;
}

/* Selection indicator — plus élégant */
.catalog-row .catalog-card__select {
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border: 1px solid var(--color-gold-line);
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(8px);
}

.catalog-row .catalog-card.is-selected {
    border-color: var(--color-gold);
    box-shadow:
        0 16px 56px rgba(0, 0, 0, 0.55),
        0 0 80px rgba(201, 169, 98, 0.12),
        inset 0 1px 0 rgba(201, 169, 98, 0.18);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 720px) {
    .catalog-row .catalog-card__content {
        padding: 18px 18px 20px;
    }
    .catalog-row .catalog-card__title {
        font-size: 1.25rem;
    }
    .catalog-row .catalog-card__price-amount {
        font-size: 1.375rem;
    }
}
