/* =========================
OFFRES SITAGLOBE - GRID + SWIPE
========================= */

body {
    font-family: Arial, sans-serif;
    background: #f4f6f9;
    margin: 0;
    padding: 0;
}

/* GLOBAL */
.sitaglobe {
    padding: 40px 20px;
}

/* SECTION */
.section {
    margin-bottom: 50px;
}

.section-header {
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 22px;
    color: #1e293b;
}

/* ===== CARDS GRID DESKTOP ===== */
.cards-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
}

/* CARD */
.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: #000;
    position: relative; /* pour badge */
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

/* IMAGE */
.card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

/* BADGE */
.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #f97316;
    color: white;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 5px;
}

/* CONTENT */
.card-body {
    padding: 10px;
}

.card-body h3 {
    font-size: 14px;
    margin-bottom: 5px;
    height: 36px;
    overflow: hidden;
}

.card-body p {
    font-size: 12px;
    color: #4b5563;
    height: 30px;
    overflow: hidden;
}

.price {
    font-weight: bold;
    color: #16a34a;
    margin: 5px 0;
    font-size: 13px;
}

.cta {
    background: #1e293b;
    color: white;
    padding: 6px;
    text-align: center;
    border-radius: 6px;
    font-size: 12px;
    display: block;
    margin-top: 5px;
}

/* ===== MOBILE - HORIZONTAL SCROLL ===== */
@media (max-width: 768px) {
    .cards-row {
        display: flex;
        overflow-x: auto;
        gap: 15px;
        padding-bottom: 10px;
    }

    .card {
        min-width: 140px;
        flex: 0 0 auto; /* empêche la carte de rétrécir */
    }

    .card img {
        height: 100px;
    }

    .card-body h3 {
        font-size: 13px;
        height: auto;
    }

    .card-body p {
        font-size: 11px;
        height: auto;
    }

    .price {
        font-size: 12px;
    }

    .cta {
        font-size: 11px;
        padding: 5px;
    }
}
/* =========================
OFFRES - CARDS HORIZONTALES
========================= */

.cards-row.horizontal {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch; /* scroll fluide sur mobile */
}

.card {
    flex: 0 0 180px; /* largeur fixe pour chaque carte */
    background: white;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: 0.3s;
    text-decoration: none;
    color: #000;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.card-body {
    padding: 10px;
}

.card-body h3 {
    font-size: 14px;
    margin-bottom: 5px;
}

.card-body p {
    font-size: 12px;
    color: #4b5563;
    height: 30px;
    overflow: hidden;
}

.price {
    font-weight: bold;
    color: #16a34a;
    margin: 5px 0;
    font-size: 13px;
}

.cta {
    background: #1e293b;
    color: white;
    padding: 6px;
    text-align: center;
    border-radius: 6px;
    font-size: 12px;
    display: block;
    margin-top: 5px;
}

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #f97316;
    color: white;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 5px;
}

/* MOBILE */
@media (max-width: 768px) {
    .card {
        flex: 0 0 140px;
    }

    .card img {
        height: 100px;
    }

    .card-body h3 {
        font-size: 13px;
    }

    .card-body p {
        font-size: 11px;
    }

    .price {
        font-size: 12px;
    }

    .cta {
        font-size: 11px;
        padding: 5px;
    }
}