/* ===== OFFERS (comme ta maquette) ===== */
.offers {
    position: relative;
    isolation: isolate;
    background: var(--primary); /* ton vert */
    padding: 20px 0 70px;
}

.offers::before {
    content: "";
    position: absolute;
    inset: -140px 0 auto 0;
    height: 200px;
    background: var(--primary);
    clip-path: ellipse(130% 70% at 50% 100%);
    pointer-events: none;
    z-index: 0;
}

.offers__container {
    width: min(1150px, 92%);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.offers__title {
    text-align: center;
    color: #f3e7d6; /* beige comme maquette */
    font-size: clamp(2.2rem, 3vw, 3.2rem);
    margin: 0 0 55px;
    font-family: serif;
}

/* Texte gauche / cartes droite */
.offers__grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 70px;
    align-items: start;
}

.offers__text {
    color: #f3e7d6; /* beige */
    font-size: 1rem;
    line-height: 1.8;
}

/* Colonne des cartes */
.offers__cards {
    display: grid;
    gap: 40px;
}

/* Carte : image à gauche, bloc à droite */
.offer-card {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    min-height: 220px; /* garde une base mais laisse le texte s'étendre */
}

/* Image */
.offer-card__media {
    position: relative;
    overflow: hidden;
}

.offer-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Icône modifier (haut gauche) */
.edit-icon {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 34px;
    height: 34px;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    z-index: 2;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        opacity 0.2s ease;
}

.edit-icon:hover {
    background: rgba(123, 58, 47, 0.9); /* brun maquette */
    transform: scale(1.05);
}

/* Bloc de droite (BRUN, pas secondary) */
.offer-card__body {
    background: #7b3a2f; /* brun maquette */
    color: #f3e7d6; /* beige */
    padding: 28px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    border-radius: 0 20px 20px 0;
}

.offer-card__body h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 500;
}

.offer-card__body hr {
    border: none;
    border-top: 1px solid rgba(243, 231, 214, 0.25);
    margin: 6px 0 10px;
}

.offer-card__price {
    font-size: 1rem;
}

/* Bouton Réserver (BEIGE) + override Bootstrap */
.offer-card__btn.btn {
    align-self: flex-start;
    background: #f3e7d6 !important; /* beige */
    color: #7b3a2f !important; /* brun */
    border: none !important;
    padding: 10px 22px !important;
    font-size: 0.95rem !important;
    text-decoration: none;
    border-radius: 0 !important; /* si tu veux l’effet “carré” comme maquette */
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

.offer-card__btn.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    filter: brightness(1.05);
}

.offer-card__btn.btn:focus-visible {
    outline: 2px solid #f3e7d6;
    outline-offset: 3px;
}

/* Responsive */
@media (max-width: 992px) {
    .offers__grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

@media (max-width: 768px) {
    .offer-card {
        grid-template-columns: 1fr;
        height: auto;
    }
    .offer-card__media {
        height: 220px;
    }
}
