.rsv {
    position: relative;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 24px 40px;
}

.rsv__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.rsv__wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 16px;
    width: 100%;
    max-width: 1060px;
    opacity: 0;
    transform: translateY(20px);
    animation: rsvReveal 0.7s ease forwards;
    animation-delay: 0.1s;
}

@keyframes rsvReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rsv__left {
    flex: 0 0 44%;
    background: #ffffff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    min-height: 620px;
}

.rsv__left-content {
    text-align: center;
    max-width: 360px;
}

.rsv__title {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: #111111;
    margin: 0 0 22px;
    line-height: 1.3;
}

.rsv__subtitle {
    font-size: 0.84rem;
    color: #555555;
    line-height: 1.7;
    margin: 0 0 32px;
    font-weight: 400;
}

.rsv__subtitle strong {
    color: #111111;
    font-weight: 700;
}

.rsv__back-btn {
    display: block;
    background: #111111;
    color: #ffffff;
    text-decoration: none;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    padding: 16px 24px;
    border-radius: 50px;
    transition: background 0.3s ease;
    max-width: 280px;
    margin: 0 auto;
}

.rsv__back-btn:hover {
    background: #333333;
}

.rsv__right {
    flex: 0 0 calc(56% - 16px);
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rsv__errors {
    background: #fef2f2;
    border-left: 3px solid #dc2626;
    padding: 10px 14px;
    margin-bottom: 16px;
    border-radius: 4px;
}

.rsv__errors p {
    color: #b91c1c;
    font-size: 0.78rem;
    margin: 0;
    line-height: 1.5;
}

.rsv__form {
    display: flex;
    flex-direction: column;
}

.rsv__field {
    margin-bottom: 4px;
}

.rsv__label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 0;
    padding-top: 20px;
    letter-spacing: 0.01em;
}

.rsv__input {
    display: block;
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #d0d0d0;
    padding: 12px 0 14px;
    font-size: 0.92rem;
    color: #111111;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s ease;
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.rsv__input:focus {
    border-bottom-color: #111111;
}

.rsv__input::placeholder {
    color: #aaaaaa;
}

.rsv__input--select {
    cursor: pointer;
    color: #111111;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
    padding-right: 24px;
}

.rsv__dob {
    display: flex;
    gap: 20px;
}

.rsv__dob-col {
    flex: 1;
}

.rsv__dob-label {
    display: block;
    font-size: 0.75rem;
    color: #888888;
    font-weight: 400;
    padding-top: 10px;
}

.rsv__input--dob {
    font-size: 0.88rem;
}

/* Ligne date + heure côte à côte */
.rsv__field-row {
    display: flex;
    gap: 16px;
    align-items: flex-end;
}

.rsv__field-row .rsv__field {
    flex: 1;
    margin-bottom: 0;
}

.rsv__field-row .rsv__field:first-child {
    flex: 1.6;
}

.rsv__input--date,
.rsv__input--time {
    color: #555555;
}

.rsv__input--date::-webkit-calendar-picker-indicator,
.rsv__input--time::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.4;
}

.rsv__textarea {
    display: block;
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #d0d0d0;
    padding: 12px 0 14px;
    font-size: 0.92rem;
    color: #111111;
    font-family: inherit;
    outline: none;
    resize: vertical;
    min-height: 80px;
    transition: border-color 0.3s ease;
}

.rsv__textarea:focus {
    border-bottom-color: #111111;
}

.rsv__btn-wrap {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 36px;
}

.rsv__btn-wrap--between {
    justify-content: space-between;
}

.rsv__btn {
    background: #111111;
    color: #ffffff;
    border: 1px solid #111111;
    font-size: 0.82rem;
    font-weight: 500;
    font-family: inherit;
    letter-spacing: 0.04em;
    padding: 14px 40px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.rsv__btn:hover {
    background: #333333;
    border-color: #333333;
}

.rsv__btn--outline {
    background: transparent;
    color: #111111;
    border: 1px solid #111111;
}

.rsv__btn--outline:hover {
    background: #111111;
    color: #ffffff;
}

@media (max-width: 768px) {
    .rsv {
        padding: 90px 12px 30px;
        align-items: flex-start;
    }

    .rsv__wrapper {
        flex-direction: column;
        max-width: 100%;
        gap: 12px;
    }

    .rsv__left {
        flex: none;
        border-radius: 20px;
        padding: 40px 24px;
        min-height: auto;
        align-items: center;
    }

    .rsv__right {
        flex: none;
        border-radius: 20px;
        padding: 28px 24px 36px;
    }

    .rsv__title {
        font-size: 1.2rem;
    }

    .rsv__subtitle {
        font-size: 0.78rem;
        margin-bottom: 24px;
    }

    .rsv__back-btn {
        padding: 14px 20px;
        font-size: 0.8rem;
    }

    .rsv__label {
        padding-top: 14px;
        font-size: 0.78rem;
    }

    .rsv__dob {
        gap: 12px;
    }

    .rsv__btn {
        padding: 12px 28px;
        font-size: 0.78rem;
    }
}

/* ===== GALERIE ===== */
.rsv-gallery {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
}

.rsv-gallery__track {
    flex: 1;
    position: relative;
    min-height: 400px;
}

.rsv-gallery__slide {
    position: absolute;
    inset: 0;
}

.rsv-gallery__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.rsv-gallery__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 0 8px;
}

.rsv-gallery__btn {
    background: #f0f0f0;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #111111;
    transition: background 0.2s;
}

.rsv-gallery__btn:hover {
    background: #d8d8d8;
}

.rsv-gallery__dots {
    display: flex;
    gap: 6px;
}

.rsv-gallery__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #d0d0d0;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.rsv-gallery__dot.active {
    background: #111111;
    transform: scale(1.25);
}

/* ===== PACKS ===== */
.rsv__toggle-packs {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 24px;
    padding: 10px 18px;
    width: 100%;
    background: transparent;
    border: 1.5px dashed #c4a35a;
    border-radius: 10px;
    color: #c4a35a;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.rsv__toggle-packs:hover {
    background: #fdf8ee;
    color: #7c5c0a;
}

.rsv__packs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.rsv__packs-header .rsv__packs-title {
    margin: 0;
}
.rsv__change-pack {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.82rem;
    color: #c4a35a;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.rsv__change-pack:hover {
    color: #a8872e;
}

.rsv__packs-section {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.rsv__packs-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 16px;
}

.rsv-pack {
    display: block;
    border: 1.5px solid #e5e5e5;
    border-radius: 12px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.rsv-pack:hover {
    border-color: #ccc;
    background: #fafafa;
}

.rsv-pack--selected {
    border-color: #111;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    background: #fff;
}

.rsv-pack--disabled {
    opacity: 0.42;
    cursor: not-allowed;
    pointer-events: none;
}

.rsv-pack__min-days {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #595959;
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 20px;
    margin-left: 6px;
}

.rsv-pack__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    user-select: none;
}

.rsv-pack__radio {
    position: relative;
    flex-shrink: 0;
}

.rsv-pack__radio-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.rsv-pack__radio-custom {
    display: block;
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 50%;
    transition: border-color 0.2s;
    position: relative;
}

.rsv-pack__radio-input:checked + .rsv-pack__radio-custom {
    border-color: #111;
}

.rsv-pack__radio-input:checked + .rsv-pack__radio-custom::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
    background: #111;
    border-radius: 50%;
}

.rsv-pack__info {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
}

.rsv-pack__name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #111;
}

.rsv-pack__km {
    font-size: 0.75rem;
    color: #888;
}

.rsv-pack__price {
    font-size: 0.85rem;
    font-weight: 700;
    color: #111;
    white-space: nowrap;
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
}

.rsv-pack__price-old {
    font-size: 0.72rem;
    font-weight: 500;
    color: #999;
    text-decoration: line-through;
}

.rsv-pack__price-promo {
    color: #c8a44a;
    font-weight: 700;
}

.rsv-pack__options {
    padding: 0 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #f9f9f9;
    border-radius: 0 0 10px 10px;
    margin-top: -10px;
    padding-top: 16px;
}

.rsv-pack__options-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0 0 6px;
}

.rsv-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    padding: 6px 0;
}

.rsv-option__checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.rsv-option__check {
    width: 20px;
    height: 20px;
    border: 1.5px solid #d0d0d0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s;
    color: transparent;
}

.rsv-option__checkbox:checked ~ .rsv-option__check {
    background: #111;
    border-color: #111;
    color: #fff;
}

.rsv-option__name {
    flex: 1;
    font-size: 0.82rem;
    color: #333;
}

.rsv-option__price {
    font-size: 0.8rem;
    font-weight: 600;
    color: #111;
    white-space: nowrap;
}

/* ===== RÉSUMÉ DYNAMIQUE ===== */
.rsv-summary {
    margin: 20px 0 4px;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.rsv-summary__duration {
    display: flex;
    align-items: baseline;
    gap: 5px;
    padding: 12px 16px;
    background: #111;
    color: #fff;
}

.rsv-summary__days {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
}

.rsv-summary__days-label {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.rsv-summary__rows {
    padding: 0 16px 4px;
}

.rsv-summary__row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.rsv-summary__key {
    font-size: 0.8rem;
    color: #888;
    min-width: 64px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rsv-summary__calc {
    flex: 1;
    font-size: 0.8rem;
    color: #aaa;
    text-align: right;
    padding-right: 12px;
}

.rsv-summary__amount {
    font-size: 0.9rem;
    font-weight: 700;
    color: #111;
    white-space: nowrap;
    min-width: 100px;
    text-align: right;
}

.rsv-summary__amount--add {
    color: #555;
    font-weight: 600;
}

.rsv-summary__old-price {
    display: block;
    text-decoration: line-through;
    opacity: 0.5;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 1px;
}

.rsv-summary__old-price--inline {
    display: inline;
    margin-right: 4px;
    font-size: 0.75rem;
}

.rsv-summary__total-amount {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.rsv-summary__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-size: 0.92rem;
    font-weight: 800;
    color: #111;
    letter-spacing: 0.01em;
}

@media (max-width: 768px) {
    .rsv-summary__calc {
        display: none;
    }
    .rsv-summary__amount {
        min-width: auto;
    }
}

/* ===== Responsive packs & galerie ===== */
@media (max-width: 768px) {
    .rsv-gallery__track {
        min-height: 260px;
    }

    .rsv-pack__header {
        padding: 12px 12px;
        gap: 8px;
    }

    .rsv-pack__name {
        font-size: 0.8rem;
    }

    .rsv-pack__price {
        font-size: 0.8rem;
    }

    .rsv-pack__options {
        padding: 0 12px 12px;
    }

    .rsv-option__name {
        font-size: 0.78rem;
    }

    .rsv-total {
        padding: 12px;
    }
}

/* ===== Cartes de sélection assurance ===== */
.prot-select-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.875rem;
    margin-bottom: 1.25rem;
    align-items: start;
}
@media (max-width: 700px) {
    .prot-select-grid { grid-template-columns: 1fr; }
}
.prot-card {
    position: relative;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    overflow: clip;
    cursor: pointer;
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
    transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
    user-select: none;
    min-width: 0;
}
.prot-card:hover {
    border-color: #c4a35a;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.prot-card--selected {
    border-color: #c4a35a !important;
    box-shadow: 0 0 0 3px rgba(196,163,90,0.2), 0 4px 16px rgba(0,0,0,0.1) !important;
}
.prot-card--disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}
.prot-card__radio-dot {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
    background: #f9fafb;
}
.prot-card--selected .prot-card__radio-dot {
    border-color: #c4a35a;
    background: #c4a35a;
}
.prot-card__badge-row {
    height: 1.6rem;
    display: flex;
    align-items: center;
    padding: 0 0.875rem;
}
.prot-card__header {
    padding: 0.875rem 2.5rem 0.65rem 0.875rem;
    border-bottom: 1px solid #f3f4f6;
}
.prot-card__tier-name {
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.prot-card--basic   .prot-card__tier-name { color: #dc2626; }
.prot-card--medium  .prot-card__tier-name { color: #b45309; }
.prot-card--confort .prot-card__tier-name { color: #16a34a; }
.prot-card__badge {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 2px 8px;
    border-radius: 99px;
    background: #fef3c7;
    color: #b45309;
}
.prot-card__highlights {
    padding: 0.6rem 0.875rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.prot-card__price {
    padding: 0.45rem 0.875rem 0.55rem;
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    border-top: 1px dashed #e5e7eb;
    background: #f9fafb;
}
.prot-card__price-amount {
    font-size: 0.82rem;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.01em;
    white-space: nowrap;
}
.prot-card__price-unit {
    font-size: 0.72rem;
    color: #6b7280;
    font-weight: 500;
    white-space: nowrap;
}
.prot-card__price-included {
    font-size: 0.85rem;
    font-weight: 600;
    color: #166534;
    background: #dcfce7;
    padding: 2px 8px;
    border-radius: 999px;
}
.prot-card__hl-row {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: #374151;
    line-height: 1.4;
}
.prot-card__hl-icon { width: 16px; flex-shrink: 0; text-align: center; margin-top: 1px; }
.prot-card__warning {
    padding: 0.35rem 0.875rem;
    font-size: 0.71rem;
    color: #b91c1c;
    background: #fef2f2;
    border-top: 1px solid #fecaca;
}
.prot-no      { color: #dc2626; font-weight: 700; font-size: 0.9rem; }
.prot-partial { font-size: 0.9rem; }
.prot-ok      { color: #16a34a; font-weight: 700; font-size: 0.85rem; }
.prot-ok--double { color: #b45309; }
.prot-na      { color: #9ca3af; font-weight: 600; font-size: 0.9rem; }

/* ===== Bouton "Tout voir" / "Masquer" dans les cartes assurance ===== */
.rsv-pack__details-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    padding: 0.45rem 0.875rem 0.5rem;
    background: #f9fafb;
    border: none;
    border-top: 1px solid #f3f4f6;
    color: #b45309;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    text-align: left;
}
.rsv-pack__details-btn:hover {
    background: #fef3c7;
    color: #92400e;
}
.rsv-pack__details {
    background: #f9fafb;
    border-top: 1px solid #f3f4f6;
    padding: 0.65rem 0.875rem;
    word-break: break-word;
    overflow-wrap: break-word;
}
.pd-row {
    display: grid;
    grid-template-columns: 22px 1fr;
    grid-template-rows: auto auto;
    column-gap: 0.5rem;
    row-gap: 0;
    padding: 0.32rem 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.78rem;
}
.pd-row:last-child { border-bottom: none; }
.pd-icon { grid-row: 1 / span 2; text-align: center; padding-top: 2px; }
.pd-label { grid-column: 2; color: #1f2937; font-weight: 500; }
.pd-detail { grid-column: 2; font-size: 0.7rem; color: #b45309; font-style: italic; }
.pd-no      { color: #dc2626; font-weight: 700; }
.pd-partial { font-size: 0.95rem; }
.pd-ok      { color: #16a34a; font-weight: 700; }
.pd-ok--double { color: #b45309; }
.pd-na      { color: #9ca3af; font-weight: 600; }

/* ===== Packs durée (radio accordion) ===== */
.rsv-pack-wrap { margin-bottom: 0.25rem; }
