/* Wellness demonstration (fictitious "L'Instant Présent", /exemples/bien-etre/), after the user's brochure
   (2026-10-28). Loaded after demo.css, by this demo only. Contrasts: white on sage green 6.6:1, sage green
   on light sage 5.8:1, bronze on cream 4.9:1 and on light sage 4.6:1, muted text on light sage 5.2:1. */

.demo--bien-etre {
    --be-green: #3E6649;
    --be-ink: #1F3A2B;
    --be-bronze: #9A5F26;
    --be-cream: #FAF8F5;
    --be-sage: #EEF2EA;
    --be-text: #2A302C;
    --be-muted: #5E665F;
    --be-line: #E3E6DE;
    --be-serif: Georgia, "Times New Roman", serif;
    color: var(--be-text);
    background: var(--be-cream);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.be-icon {
    width: 20px;
    height: 20px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.be-eyebrow {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--be-bronze);
}

.be-title {
    margin-top: 6px;
    font-family: var(--be-serif);
    font-size: clamp(1.7rem, 5.5vw, 2.3rem);
    line-height: 1.15;
    color: var(--be-ink);
}

/* ---- Buttons ------------------------------------------------------------------- */
.be-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 10px 24px;
    border: 2px solid var(--be-green);
    border-radius: 999px;
    background: var(--be-green);
    font: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    color: #FFFFFF;
    text-decoration: none;
    cursor: pointer;
}

.be-button:hover,
.be-button:focus-visible {
    filter: brightness(1.1);
}

.be-button--light {
    border-color: rgba(255, 255, 255, 0.85);
    background: transparent;
}

.be-button--outline {
    background: transparent;
    color: var(--be-green);
}

.be-button--block {
    width: 100%;
    border-radius: 8px;
}

.be-more {
    margin-top: 24px;
}

.be-more summary {
    list-style: none;
}

.be-more summary::-webkit-details-marker {
    display: none;
}

.be-more p {
    margin-top: 14px;
    max-width: 28rem;
    font-size: 0.88rem;
    color: var(--be-muted);
}

/* ---- Header -------------------------------------------------------------------- */
.be-header {
    background: var(--be-cream);
    border-bottom: 1px solid var(--be-line);
}

.be-header .wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    padding-block: 12px;
}

.be-header .be-button {
    min-height: 44px;
    padding-inline: 20px;
}

.be-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--be-ink);
    text-decoration: none;
}

.be-logo__mark {
    width: 46px;
    height: 38px;
    fill: none;
    stroke: var(--be-green);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.be-logo__mark path:last-child {
    stroke: var(--be-bronze);
}

.be-logo__name {
    display: block;
    font-family: var(--be-serif);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.1;
}

.be-logo__tag {
    display: block;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.be-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 22px;
    font-size: 0.85rem;
}

.be-nav a {
    padding-block: 4px;
    text-decoration: none;
    color: inherit;
}

.be-nav a[aria-current="page"],
.be-nav a:hover,
.be-nav a:focus-visible {
    box-shadow: inset 0 -2px 0 var(--be-bronze);
}

@media (max-width: 899px) {
    .be-header .be-nav {
        order: 3;
        width: 100%;
        justify-content: space-between;
        gap: 4px 12px;
    }
}

@media (max-width: 479px) {
    /* The hero repeats this button right below: keep the header on two lines only. */
    .be-header .be-button {
        display: none;
    }

    .be-header .be-nav {
        flex-wrap: nowrap;
        gap: 16px;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
    }
}

/* ---- Hero ---------------------------------------------------------------------- */
.be-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #FFFFFF;
    background: var(--be-ink);
}

.be-hero__img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65% center;
}

/* The photo comes from the brochure with its text removed: the dark side keeps the text readable. */
.be-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to right, rgba(24, 36, 30, 0.7), rgba(24, 36, 30, 0.35) 50%, rgba(24, 36, 30, 0) 75%);
}

.be-hero .wrap {
    position: relative;
    padding-block: 56px 40px;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.be-hero .be-eyebrow {
    color: #FFFFFF;
}

.be-hero h1 {
    margin-top: 10px;
    font-family: var(--be-serif);
    font-size: clamp(2.4rem, 9vw, 4.2rem);
    font-weight: 400;
    line-height: 1.05;
}

.be-hero__lead {
    margin-top: 12px;
    max-width: 26rem;
    font-size: clamp(1.05rem, 3.6vw, 1.25rem);
}

.be-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.be-hero__script {
    margin-top: 24px;
    font-family: "Segoe Script", "Brush Script MT", "Snell Roundhand", cursive;
    font-size: clamp(1.3rem, 4.6vw, 1.9rem);
    line-height: 1.2;
    transform: rotate(-10deg);
    transform-origin: left;
}

@media (max-width: 767px) {
    .be-hero::before {
        background: linear-gradient(to bottom, rgba(24, 36, 30, 0.7), rgba(24, 36, 30, 0.5));
    }
}

@media (min-width: 600px) {
    .be-hero__lead {
        max-width: none;
    }

    .be-hero__line {
        display: block;
    }
}

@media (min-width: 768px) {
    .be-hero {
        min-height: min(38vw, 560px);
    }

    .be-hero .wrap {
        padding-block: 72px 56px;
    }

    .be-hero__script {
        position: absolute;
        right: 0;
        bottom: 36px;
        margin: 0;
        transform-origin: right;
    }
}

/* ---- Features ------------------------------------------------------------------ */
.be-features ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 16px;
    margin-block: 0;
    padding-block: 36px;
    padding-inline: 0;
    list-style: none;
    text-align: center;
}

.be-features svg {
    width: 48px;
    height: 36px;
    margin-inline: auto;
    fill: none;
    stroke: var(--be-green);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.be-features h2 {
    margin-top: 10px;
    font-size: 0.95rem;
    color: var(--be-ink);
}

.be-features p {
    margin-top: 6px;
    font-size: 0.82rem;
    color: var(--be-muted);
}

@media (min-width: 900px) {
    .be-features ul {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .be-features li + li {
        border-left: 1px solid var(--be-line);
    }

    .be-features li {
        padding-inline: 18px;
    }
}

/* ---- Care ---------------------------------------------------------------------- */
.be-care {
    padding-block: 32px 48px;
    background: #FFFFFF;
}

.be-care .wrap {
    display: grid;
    gap: 28px;
}

.be-care__intro > p:not(.be-eyebrow) {
    margin-top: 16px;
    max-width: 28rem;
    font-size: 0.92rem;
    color: var(--be-muted);
}

.be-care__list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.be-care__list li {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    overflow: hidden;
    border-radius: 8px;
    background: var(--be-cream);
    box-shadow: 0 14px 30px -24px rgba(31, 58, 43, 0.6);
}

.be-care__list img {
    grid-column: 1 / -1;
    width: 100%;
    aspect-ratio: 155 / 114;
    object-fit: cover;
}

.be-care__list div {
    padding: 12px 0 14px 14px;
}

.be-care__list h3 {
    font-size: 0.9rem;
    color: var(--be-ink);
}

.be-care__list p {
    margin-top: 2px;
    font-size: 0.78rem;
    line-height: 1.45;
    color: var(--be-muted);
}

.be-round {
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin: 0 6px 6px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--be-green);
    text-decoration: none;
}

.be-round::before {
    content: "";
    position: absolute;
    width: 26px;
    height: 26px;
    border: 1px solid var(--be-line);
    border-radius: 50%;
    background: #FFFFFF;
    z-index: -1;
}

@media (max-width: 599px) {
    /* Compact rows on phones: photo on the left, text and arrow on the right. */
    .be-care__list li {
        grid-template-columns: 112px 1fr auto;
        align-items: center;
    }

    .be-care__list img {
        grid-column: auto;
        height: 100%;
        aspect-ratio: auto;
        min-height: 88px;
    }

    .be-care__list .be-round {
        margin-bottom: 0;
    }
}

@media (min-width: 600px) {
    .be-care__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .be-care .wrap {
        grid-template-columns: 0.8fr 1.2fr;
        align-items: center;
        gap: 40px;
    }
}

/* ---- Approach ------------------------------------------------------------------ */
.be-approach {
    display: grid;
    background: var(--be-sage);
}

.be-approach__photo {
    position: relative;
    min-height: 260px;
}

.be-approach__photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.be-approach__script {
    position: absolute;
    left: 20px;
    top: 14%;
    font-family: "Segoe Script", "Brush Script MT", "Snell Roundhand", cursive;
    font-size: clamp(1.3rem, 4.6vw, 1.8rem);
    line-height: 1.25;
    color: #FFFFFF;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    transform: rotate(-12deg);
}

.be-approach__body {
    padding: 40px 16px 48px;
}

.be-approach__body .be-eyebrow {
    color: var(--be-green);
}

.be-approach__text {
    margin-top: 14px;
    max-width: 34rem;
    font-size: 0.92rem;
    color: var(--be-muted);
}

.be-values {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    text-align: center;
}

.be-values__icon {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    margin-inline: auto;
    border-radius: 50%;
    background: #FFFFFF;
    color: var(--be-green);
}

.be-values .be-icon {
    width: 26px;
    height: 26px;
}

.be-values h3 {
    margin-top: 10px;
    font-size: 0.82rem;
    color: var(--be-ink);
}

.be-values p {
    margin-top: 4px;
    font-size: 0.76rem;
    line-height: 1.45;
    color: var(--be-muted);
}

@media (min-width: 1024px) {
    .be-approach {
        grid-template-columns: 0.65fr 1.35fr;
    }

    .be-approach__body {
        padding: 48px max(16px, calc((100vw - 1120px) / 2)) 48px 40px;
    }

    .be-values {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ---- Booking ------------------------------------------------------------------- */
.be-booking {
    padding-block: 48px;
    background: var(--be-sage);
    border-top: 1px solid var(--be-line);
}

.be-booking .wrap {
    display: grid;
    gap: 28px;
    align-items: center;
}

.be-booking .be-eyebrow {
    color: var(--be-green);
}

.be-booking__text > p:not(.be-eyebrow) {
    margin-top: 14px;
    max-width: 28rem;
    font-size: 0.92rem;
    color: var(--be-muted);
}

.be-checks {
    display: grid;
    gap: 8px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.88rem;
}

.be-checks li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.be-checks li::before {
    content: "✓";
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    flex: none;
    border-radius: 50%;
    background: var(--be-green);
    font-size: 0.7rem;
    font-weight: 700;
    color: #FFFFFF;
}

.be-book {
    display: grid;
    gap: 14px;
    padding: 20px;
    border-radius: 12px;
    background: #FFFFFF;
    box-shadow: 0 18px 40px -28px rgba(31, 58, 43, 0.6);
}

.be-book__steps {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.76rem;
    color: var(--be-muted);
}

.be-book__steps li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.be-book__steps span {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--be-line);
    font-weight: 700;
}

.be-book__steps .is-current {
    font-weight: 600;
    color: var(--be-ink);
}

.be-book__steps .is-current span {
    background: var(--be-green);
    color: #FFFFFF;
}

.be-select {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    border: 1px solid var(--be-line);
    border-radius: 8px;
    color: var(--be-green);
}

.be-select select {
    width: 100%;
    min-height: 44px;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 0.88rem;
    color: var(--be-text);
}

.be-select:focus-within {
    border-color: var(--be-green);
    box-shadow: 0 0 0 2px rgba(62, 102, 73, 0.25);
}

.be-select select:focus {
    outline: none;
}

.be-book__grid {
    display: grid;
    gap: 18px;
}

.be-book fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.be-cal__fallback {
    display: grid;
    gap: 4px;
    font-size: 0.8rem;
    color: var(--be-muted);
}

.be-cal__fallback[hidden] {
    display: none;
}

.be-cal__fallback input {
    min-height: 44px;
    padding: 0 10px;
    border: 1px solid var(--be-line);
    border-radius: 8px;
    font: inherit;
}

.be-cal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.be-cal__head button {
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    font-size: 1.2rem;
    color: var(--be-ink);
    cursor: pointer;
}

.be-cal__title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--be-ink);
}

.be-cal__days,
.be-cal__grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    text-align: center;
}

.be-cal__days {
    margin-top: 4px;
    font-size: 0.68rem;
    color: var(--be-muted);
}

.be-cal__grid button {
    width: 34px;
    height: 34px;
    margin: 1px auto;
    border: 0;
    border-radius: 50%;
    background: transparent;
    font: inherit;
    font-size: 0.8rem;
    color: var(--be-text);
    cursor: pointer;
}

.be-cal__grid button:hover:not(:disabled) {
    background: var(--be-sage);
}

.be-cal__grid button:disabled {
    color: #9AA19B;
    cursor: default;
}

.be-cal__grid button[aria-pressed="true"] {
    background: var(--be-green);
    font-weight: 700;
    color: #FFFFFF;
}

.be-slots legend {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--be-ink);
}

.be-slots__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 10px 0 16px;
}

.be-slots__list input {
    position: absolute;
    opacity: 0;
}

.be-slots__list span {
    display: grid;
    place-items: center;
    min-height: 40px;
    border: 1px solid var(--be-line);
    border-radius: 6px;
    font-size: 0.82rem;
    cursor: pointer;
}

.be-slots__list input:checked + span {
    border-color: var(--be-green);
    background: var(--be-sage);
    font-weight: 700;
    color: var(--be-ink);
}

.be-slots__list input:focus-visible + span {
    outline: 2px solid var(--be-green);
    outline-offset: 2px;
}

.be-book__note,
.be-book__status {
    margin-top: 10px;
    font-size: 0.74rem;
    text-align: center;
    color: var(--be-muted);
}

.be-book__status {
    padding: 10px;
    border-radius: 8px;
    background: var(--be-sage);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--be-ink);
}

@media (min-width: 600px) {
    .be-book__grid {
        grid-template-columns: 1.1fr 1fr;
        gap: 24px;
    }

    .be-slots {
        padding-left: 20px !important;
        border-left: 1px solid var(--be-line) !important;
    }
}

@media (min-width: 1024px) {
    .be-booking .wrap {
        grid-template-columns: 0.8fr 1.2fr;
        gap: 40px;
    }
}

/* ---- Place --------------------------------------------------------------------- */
.be-place {
    padding-block: 44px;
}

.be-place .wrap {
    display: grid;
    gap: 24px;
}

.be-place__intro > p:not(.be-eyebrow) {
    margin-top: 12px;
    max-width: 26rem;
    font-size: 0.88rem;
    color: var(--be-muted);
}

.be-place__gallery {
    display: grid;
    gap: 12px;
}

.be-arrows {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.be-arrows[hidden] {
    display: none;
}

.be-arrows button {
    width: 44px;
    height: 44px;
    border: 1px solid var(--be-line);
    border-radius: 50%;
    background: #FFFFFF;
    font-size: 1.4rem;
    line-height: 1;
    color: var(--be-ink);
    cursor: pointer;
}

.be-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(170px, 1fr);
    gap: 10px;
    margin: 0;
    padding: 0 0 6px;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

.be-track li {
    scroll-snap-align: start;
}

.be-track img {
    width: 100%;
    aspect-ratio: 121 / 98;
    border-radius: 6px;
    object-fit: cover;
}

.be-track:focus-visible {
    outline: 2px solid var(--be-green);
    outline-offset: 2px;
}

@media (min-width: 1024px) {
    .be-place .wrap {
        grid-template-columns: 0.75fr 1.25fr;
        align-items: center;
        gap: 40px;
    }

    .be-place__gallery {
        margin-top: -36px;
    }
}

/* ---- Practical information ------------------------------------------------------- */
.be-infos {
    padding-block: 40px 48px;
    background: var(--be-sage);
}

.be-infos .wrap {
    display: grid;
    gap: 24px;
}

.be-infos__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.be-infos__list li {
    padding: 16px;
    border-radius: 8px;
    background: #FFFFFF;
}

.be-infos__list .be-icon {
    width: 26px;
    height: 26px;
    color: var(--be-green);
}

.be-infos__list h3 {
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--be-ink);
}

.be-infos__list p {
    margin-top: 4px;
    font-size: 0.76rem;
    line-height: 1.5;
    color: var(--be-muted);
}

@media (min-width: 1024px) {
    .be-infos .wrap {
        grid-template-columns: 0.75fr 1.25fr;
        align-items: center;
        gap: 40px;
    }

    .be-infos__list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ---- Footer -------------------------------------------------------------------- */
.be-footer {
    padding-block: 28px;
    border-top: 1px solid var(--be-line);
    background: var(--be-cream);
}

.be-footer .wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
}

.be-footer .be-nav {
    font-size: 0.8rem;
}

.be-footer__social {
    display: flex;
    gap: 14px;
    color: var(--be-ink);
}

.demo--bien-etre .demo-footer {
    background: var(--be-ink);
}
