:root {
    --bg: #fffafb;
    --primary: #fbe7eb;
    --secondary: #d8aab5;
    --text: #916b8f;
    --title: #6b5a6b;
    --radius: 22px;
}

body {
    margin: 0;
    font-family: "Host Grotesk", sans-serif;
    background: var(--bg);
    font-size: 1.2rem;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ===== NAVIGATION ===== */
nav {
    margin: 1.5rem auto 0;
    padding: 0 2rem;
}

nav a {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: var(--secondary);
    color: var(--bg);
    font-weight: 700;
    border-radius: var(--radius);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

nav a:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(216, 170, 181, 0.65);
}

/* ===== PAGE RDV ===== */
.rdv-page {
    width: min(1100px, calc(100% - 2rem));
    margin: 2rem auto 4rem;
    padding: 2rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius);
}

.rdv-page h1 {
    text-align: center;
    margin: 0 0 2rem;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--text);
}

/* ===== ACCORDEON ===== */
.rdv-accordion {
    display: grid;
    gap: 1rem;
}

.rdv-panel {
    border: 1px solid rgba(143, 107, 115, 0.12);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
}

.rdv-summary {
    list-style: none;
    cursor: pointer;
    padding: 1rem 1.2rem;
    background: var(--primary);
    font-weight: 700;
    color: var(--title);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rdv-summary::-webkit-details-marker {
    display: none;
}

.rdv-items {
    padding: 1rem;
    display: grid;
    gap: 1rem;
}

.rdv-category-desc {
    margin: 0 0 1rem;
    padding: 1rem;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.6;
    background: var(--primary);
    border-left: 4px solid #916b8f;
    border-radius: 8px;
}

.rdv-item-content {
    padding: 1rem;
    border-radius: var(--radius);
    background: var(--bg);
    border: 1px solid rgba(143, 107, 115, 0.12);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
    align-items: center;
}

.rdv-item-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rdv-item-title {
    margin: 0;
    color: var(--text);
}

.soin-desc-container {
    margin-bottom: 0.9rem;
}

.soin-desc {
    margin: 0;
    color: var(--muted);
}

.plus-btn {
    margin-top: 0.75rem;
    border: 0;
    background: transparent;
    color: var(--pink-dark);
    font-weight: 700;
    padding: 0;
    cursor: pointer;
}

/* ===== RESERVATION BUTTON ===== */
.rdv-book {
    width: auto;
    min-width: 140px;
    padding: 0.85rem 1.5rem;
    background: linear-gradient(135deg, var(--secondary), #c78f9d);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(216, 170, 181, 0.3);
    height: fit-content;
    white-space: nowrap;
}

.rdv-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(216, 170, 181, 0.45);
}

.rdv-book:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(216, 170, 181, 0.25);
}

/* ===== CONFIRMATION MODAL ===== */
.confirmation-modal {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    background: #fff;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.confirmation-modal.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.confirmation-modal.error {
    background: #ffebee;
    border: 1px solid #f08080;
}

.confirmation-modal.error .confirmation-icon {
    color: #d32f2f;
}

.confirmation-modal.error #confirmation-text {
    color: #c62828;
}

.confirmation-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.confirmation-icon {
    width: 24px;
    height: 24px;
    color: #4caf50;
    flex-shrink: 0;
}

#confirmation-text {
    margin: 0;
    color: #333;
    font-weight: 600;
    font-size: 1rem;
}

/* ===== PANIER ===== */
.cart-wrapper {
    position: fixed;
    right: 2rem;
    top: 2rem;
    z-index: 30;
}

.cart-link {
    position: relative;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), #c78f9d);
    color: white;
    box-shadow: 0 12px 30px rgba(199, 143, 157, 0.35);
}

.cart-icon-svg {
    width: 28px;
    height: 28px;
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border-radius: 999px;
    background: white;
    color: #c78f9d;
    font-size: 0.8rem;
    font-weight: 800;
    display: grid;
    place-items: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1150px) {
    .rdv-page {
        margin: 1.5rem auto;
        padding: 1.5rem;
    }

    .rdv-summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .cart-wrapper {
        right: 1rem;
        top: 1rem;
    }
}

@media (max-width: 768px) {
    .rdv-page {
        padding: 1rem;
    }

    nav {
        padding: 0 1rem;
    }
}

@media (max-width: 600px) {
    .rdv-item-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .rdv-book {
        width: 100%;
    }

    .cart-wrapper {
        right: 0.5rem;
        top: 0.5rem;
    }

    .cart-link {
        width: 56px;
        height: 56px;
    }

    .cart-icon-svg {
        width: 24px;
        height: 24px;
    }
}