/* ===================================
   Legal Pages Styles
   =================================== */
.hero--legal .hero-content {
    padding-top: 100px;
}

.legal-content {
    padding: 5rem 0;
}

.legal-text {
    max-width: 900px;
    margin: 0 auto;
}

.legal-text h2 {
    color: var(--primary-color);
    margin-top: 3rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.legal-text h3 {
    color: var(--secondary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.legal-text p {
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.legal-hosting {
    margin: 0 0 1.5rem;
    padding: 0.5rem 1.5rem;
    border: 1px solid rgba(171, 137, 101, 0.3);
    background: rgba(44, 44, 44, 0.55);
}

.legal-hosting div {
    display: grid;
    grid-template-columns: minmax(10rem, 0.35fr) minmax(0, 1fr);
    gap: 1.5rem;
    padding: 1rem 0;
}

.legal-hosting div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-hosting dt {
    color: var(--primary-color);
    font-weight: 600;
}

.legal-hosting dd {
    margin: 0;
    color: var(--text-color);
    line-height: 1.6;
}

.legal-text ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.legal-text ul li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.legal-text strong {
    color: var(--white);
}

.legal-highlight {
    text-align: center;
    color: var(--text-light);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Conditions de réservation */
.booking-terms-hero .hero-content {
    max-width: 900px;
}

.booking-terms-hero .hero-content h1 {
    max-width: 12ch;
    margin-inline: auto;
    text-wrap: balance;
}

.booking-terms-hero .hero-content p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
}

.booking-terms-heart {
    color: var(--primary-color);
    line-height: 1;
}

.booking-terms-content {
    max-width: 760px;
}

.booking-terms-section {
    padding: 2.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.booking-terms-section:first-of-type {
    padding-top: 0;
}

.booking-terms-section h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--white);
    font-size: clamp(1.35rem, 2.5vw, 1.8rem);
    letter-spacing: -0.02em;
}

.booking-terms-section p {
    max-width: 70ch;
    margin-bottom: 0.8rem;
    font-size: 1.08rem;
}

.booking-terms-section p:last-child {
    margin-bottom: 0;
}

.booking-terms-deposit {
    margin-top: 2.25rem;
    padding: 2rem;
    border: 1px solid rgba(171, 137, 101, 0.42);
    background-color: rgba(44, 44, 44, 0.62);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.booking-terms-deposit-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
}

.booking-terms-deposit-heading h2 {
    margin-bottom: 0;
}

.booking-terms-amount {
    flex: none;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.03em;
}

.booking-terms-closing {
    max-width: 660px;
    margin: 4rem auto 0;
    color: var(--white);
    font-size: clamp(1.15rem, 2.5vw, 1.45rem);
    line-height: 1.65;
    text-align: center;
    text-wrap: balance;
}

.booking-terms-closing .booking-terms-heart {
    display: block;
    margin-top: 1rem;
    font-size: 1.25rem;
}

.booking-terms-page ::selection {
    color: var(--white);
    background-color: var(--secondary-color);
}

.booking-terms-page a:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 4px;
}

/* Règlement intérieur */
.house-rules-hero .hero-content h1 {
    max-width: 13ch;
    margin-inline: auto;
    text-wrap: balance;
}

.house-rules-content {
    max-width: 800px;
}

.house-rules-section {
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.house-rules-section:first-of-type {
    padding-top: 0;
}

.house-rules-heading {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.house-rules-heading h2 {
    margin: 0;
    color: var(--white);
    font-size: clamp(1.35rem, 2.5vw, 1.8rem);
    letter-spacing: -0.02em;
}

.house-rules-number {
    display: inline-flex;
    flex: 0 0 2.25rem;
    width: 2.25rem;
    height: 2.25rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(171, 137, 101, 0.6);
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.house-rules-section ul {
    margin: 0 0 1.25rem 1.25rem;
    padding: 0;
}

.house-rules-section li {
    padding-left: 0.35rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    font-size: 1.05rem;
    line-height: 1.75;
}

.house-rules-section li::marker {
    color: var(--primary-color);
}

.house-rules-section p {
    max-width: 70ch;
    font-size: 1.05rem;
    line-height: 1.8;
}

.house-rules-penalty {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    padding: 2rem;
    border: 1px solid rgba(171, 137, 101, 0.45);
    background-color: rgba(44, 44, 44, 0.62);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.house-rules-penalty p {
    margin: 0;
    color: var(--white);
    font-size: 1.12rem;
    line-height: 1.65;
}

.house-rules-penalty strong {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.03em;
    white-space: nowrap;
}

.house-rules-page ::selection {
    color: var(--white);
    background-color: var(--secondary-color);
}

.house-rules-page a:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 4px;
}

@media (max-width: 600px) {
    .legal-hosting {
        padding: 0.25rem 1rem;
    }

    .legal-hosting div {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .booking-terms {
        padding: 4rem 0;
    }

    .booking-terms-section {
        padding: 1.75rem 0;
    }

    .booking-terms-deposit {
        margin-top: 1.75rem;
        padding: 1.5rem;
    }

    .booking-terms-deposit-heading {
        display: block;
    }

    .booking-terms-amount {
        display: block;
        margin-top: 0.5rem;
    }

    .booking-terms-closing {
        margin-top: 3rem;
    }

    .house-rules {
        padding: 4rem 0;
    }

    .house-rules-section {
        padding: 2rem 0;
    }

    .house-rules-penalty {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2rem;
        padding: 1.5rem;
    }
}
