/* ── VS / Cost comparison section (shared: pricing page + home) ── */
.vs-section {
    background: #fff;
    padding: 0 0 6rem;
}
.vs-wrap {
    width: 100%;
    padding: 0 8rem;
    box-sizing: border-box;
}
@media (min-width: 768px) and (max-width: 1023px) {
    .vs-wrap { padding-left: 3rem; padding-right: 3rem; }
}
@media (max-width: 767px) {
    .vs-wrap { padding-left: 0.875rem; padding-right: 0.875rem; }
}
.vs-box {
    border: 1px solid #e5e5e5;
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    background: #fff;
}
.vs-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 1.5rem;
    align-items: center;
}
/* min-width:0 empêche la track (width:max-content) d'élargir la colonne
   et de faire déborder les cartes hors de la grande boîte */
.vs-left, .vs-right { min-width: 0; }
.vs-right { overflow: hidden; }
@media (max-width: 900px) {
    .vs-layout { grid-template-columns: 1fr; gap: 2.5rem; }
}
/* Left */
.vs-eyebrow {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(0,0,0,0.35);
    margin: 0 0 0.6rem;
}
.vs-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    color: #0a0a0a;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin: 0 0 1rem;
}
.vs-desc {
    font-size: 0.9375rem;
    color: rgba(0,0,0,0.5);
    line-height: 1.65;
    margin: 0 0 1.25rem;
    max-width: 34ch;
}
.vs-desc strong { color: #0a0a0a; font-weight: 600; }
/* Total barré → prix Kalyos */
.vs-price-compare {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0 0 1.75rem;
}
.vs-price-old {
    font-size: 1.05rem;
    font-weight: 500;
    color: rgba(0,0,0,0.35);
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
}
.vs-price-new {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0a0a0a;
    letter-spacing: -0.02em;
}
.vs-price-new small {
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(0,0,0,0.45);
    letter-spacing: 0;
}
.vs-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2.5rem;
    padding: 0 1.25rem;
    border-radius: 9999px;
    background: #0a0a0a;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.15s;
}
.vs-cta:hover { opacity: 0.8; }

/* Right — auto-scrolling cards */
.vs-cards-outer {
    position: relative;
    overflow: hidden;
    height: 15rem;
    width: 100%;
}
.vs-cards-outer::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0; width: 2.25rem;
    background: linear-gradient(to right, #fff 35%, transparent);
    pointer-events: none;
    z-index: 2;
}
.vs-cards-outer::after {
    content: '';
    position: absolute;
    right: 0; top: 0; bottom: 0; width: 3rem;
    background: linear-gradient(to right, transparent, #fff);
    pointer-events: none;
    z-index: 2;
}
@keyframes vs-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.vs-cards-track {
    display: flex;
    gap: 0.75rem;
    width: max-content;
    height: 100%;
    animation: vs-scroll 75s linear infinite;
}
.vs-cards-track:hover { animation-play-state: paused; }
.vs-card {
    flex: 0 0 auto;
    width: 16.5rem;
    height: 100%;
    border: 1px solid #e5e5e5;
    border-radius: 1rem;
    padding: 1.5rem 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    background: #fff;
    position: relative;
    overflow: hidden;
}
.vs-card__top {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.vs-card__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 1.75rem;
    height: 1.75rem;
    color: #0a0a0a;
}
.vs-card__logo svg {
    width: 100%;
    height: 100%;
}
.vs-card__name {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0a0a0a;
    line-height: 1.3;
}
.vs-card__plan {
    display: block;
    font-size: 0.75rem;
    color: rgba(0,0,0,0.4);
    margin-top: 0.1rem;
}
.vs-card__note {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: rgba(0,0,0,0.55);
    margin: 0;
}
.vs-card__price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0a0a0a;
    letter-spacing: -0.03em;
    margin-top: auto;
    padding-top: 1rem;
}
.vs-card__price small {
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(0,0,0,0.4);
    letter-spacing: 0;
}

/* ── Home page: nested inside .pricing-wrap (which already has 8rem padding) ── */
.pricing-wrap .vs-section { padding: 0; margin: 4rem 0 0; }
.pricing-wrap .vs-wrap { padding: 0; }
/* Espace avant le toggle Monthly/Yearly sur la home */
.pricing-wrap .vs-section + .pricing-toggle-wrap { margin-top: 4rem !important; }
