/* Generated by scripts/build-css.py; edit source stylesheets. */
/* assets/stylesheets/pages/infos-pratiques.css */
/* assets/stylesheets/base.css */
/* assets/stylesheets/fonts.css */
/* Quicksand, SIL Open Font License: /assets/fonts/OFL-Quicksand.txt */
@font-face {
    font-family: "Quicksand";
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url("/assets/fonts/quicksand-variable.woff2") format("woff2");
}


/* assets/stylesheets/components/header.css */
#main-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: calc(1rem / 16) solid var(--border);

    & > h1,
    & > .brand-title {
        display: none;
    }

    .important-message {
        box-sizing: border-box;
        background: var(--dimmed-background);
        color: var(--on-dimmed-background);
        margin: 0;
        padding: calc(var(--spacing) / 2);
        width: 100%;
        text-align: center;
        white-space: pre-line;
    }

    & > a {
        display: inline;
        height: calc(130rem / 16);
        margin-top: var(--spacing);

        img {
            height: calc(130rem / 16);
            width: auto;
            max-width: 100%;
        }
    }

    nav {
        ul {
            list-style: none;
            margin: 0;
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            justify-content: center;
            gap: calc(20rem / 16);
            padding: var(--spacing);
            li {
                a {
                    text-transform: uppercase;
                    text-decoration: none;
                    font-size: calc(18rem / 16);
                    &.active {
                        font-weight: 600;
                        text-decoration: underline 2px;
                        text-underline-position: under;
                    }
                }
            }
        }
    }
}

/* Shared opening widget: the same status and reservation action on both pages. */
.opening-status {
    color-scheme: light dark;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    width: fit-content;
    max-width: 100%;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--background);
    text-align: left;
    a, a:hover {
        text-decoration: none;
    }
}
.opening-status--undated { grid-template-columns: minmax(0, 1fr) auto; }
.opening-status__date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    min-width: 4rem;
    padding: .5rem;
    border-radius: .5rem;
    background: var(--dimmed-background);
    font-weight: 700;

    span:first-of-type {
        font-size: calc(30rem / 16);
        line-height: calc(30rem / 16);
    }

    span:nth-child(2) {
        font-size: calc(15rem / 16);
        line-height: calc(15rem / 16);
    }
}

.opening-status__summary { display: flex; flex-direction: column;  }
.opening-status__summary strong { font-size: 1.35rem; color: var(--on-background-primary); }
.opening-status__summary > span { font-size: 1.05rem; }
.opening-status__notice { font-size: .85rem; line-height: 1.45; }
.opening-status__calendar { font-size: .95rem; text-underline-offset: .2em; }
.opening-status__booking { font-size: 1rem; }
#main-header a:focus-visible,
footer a:focus-visible,
.opening-status a:focus-visible {
    outline: 3px solid var(--on-background-primary);
    outline-offset: 4px;
}
@media (max-width: 700px) {
    .opening-status { grid-template-columns: auto minmax(0, 1fr); width: 100%; }
    .opening-status--undated { grid-template-columns: minmax(0, 1fr); }
    .opening-status__booking { grid-column: 1 / -1; }
    #main-header nav a { display: inline-block; padding: .5rem .15rem; }
    #main-header nav ul { gap: .25rem 1rem; }
}

header:not(#main-header) > .opening-status {
    margin-top: 2rem;
}

/* assets/stylesheets/components/footer.css */
footer {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    grid-template-rows: auto 1fr;
    grid-template-areas:
        "logo logo logo"
        "phone formules infos"
        "postal formules infos";
    justify-content: center;
    justify-items: stretch;
    padding: var(--spacing);
    padding: calc(2 * var(--spacing));
    gap: var(--spacing) calc(var(--spacing) * 2);
    background: var(--background);
    border-top: calc(1rem / 16) solid var(--border);

    @media screen and (max-width: 768px) {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "logo" "formules" "phone" "postal" "infos";
        text-align: center;
    }

    .logo-footer {
        grid-area: logo;
        height: calc(80rem / 16);
        width: auto;
        max-width: 100%;
        justify-self: center;
    }

    h2 {
        display: none;
    }

    section {
        display: contents;
        article {
            display: flex;
            flex-direction: column;
            gap: calc(8rem / 16);

            h3 {
                margin: calc(4rem / 16) 0 0;
                display: flex;
                flex-direction: column;
                font-size: calc(16rem / 16);
            }

            a,
            p {
                font-size: calc(16rem / 16);
                margin: 0;
            }

            ul {
                list-style: none;
                padding: 0;
                margin: 0;
                display: flex;
                flex-direction: column;
                gap: calc(2rem / 16);
                li {
                }
            }

            &.phone {
                grid-area: phone;
            }
            &.formules {
                grid-area: formules;
            }
            &.postal {
                grid-area: postal;
            }
            &.infos {
                grid-area: infos;
            }
        }
    }
}

/* assets/stylesheets/components/button.css */
button, .button {
    appearance: none;
    border: none;
    color-scheme: only dark;
    display: block;
    text-decoration: none;
    font-weight: 600;
    background: var(--background-primary-light);
    color: var(--on-background-primary-light);
    padding: calc(var(--spacing) / 4) calc(var(--spacing) / 3);
    border-radius: calc(var(--radius) / 2);
    transition: background-color 150ms ease, color 150ms ease;
    text-align: center;
    &:hover {
        background: var(--background-primary);
        color: var(--on-background-primary);
        text-decoration: none;
    }
}


:root {
    color-scheme: light dark;
    --rounded-corner: calc(8rem / 16);
    --inner-rounded-corner: calc(6rem / 16);

    --background: light-dark(#ffffff, #162320);
    --on-background: light-dark(#111c1b, #c3e7e4);
    --on-background-strong: light-dark(#182d2c, #ffffff);

    --background-primary: light-dark(#b4f5d6, #00523e);
    --on-background-primary: light-dark(#00523e, #89eccf);

    --background-primary-light: light-dark(#beffdc, #007957);
    --on-background-primary-light: light-dark(#038162, #ffffff);

    --border: light-dark(#a6c2bc, #437060);

    --dimmed-background: light-dark(#c3e7e4, #304945);
    --on-dimmed-background: light-dark(#111c1b, #c3e7e4);

    --shadow: light-dark(rgba(33, 44, 44, 0.44), rgba(33, 44, 44, 0.44));

    --primary: light-dark(#00523e, #00523e);
    --on-primary: light-dark(#ffffff, #ffffff);
    --secondary: #89eccf;
    --tertiary: #beffdc;
    --spacing: calc(32rem / 16);
    --radius: calc(16rem / 16);

    --picture-gradient: linear-gradient(
        to top,
        var(--primary),
        color-mix(in srgb, var(--primary) 5%, transparent)
    );

    @media (max-width: 657px) {
        font-size: 14px;
        --spacing: calc(24rem / 16);
    }
    scroll-behavior: smooth;
    color: var(--on-background);
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Quicksand", sans-serif;
    font-optical-sizing: auto;
    background: var(--background);
    line-height: 1.4;
    margin: 0;
    text-rendering: optimizeLegibility;
    perspective: 300px;
    transform-origin: center center;
    overflow: auto;
}

body a {
    color: var(--on-background-primary);
    transition: color 150ms ease;
    &:hover {
        color: var(--on-background-primary-light);
    }
}
body a:hover {
    text-decoration: underline;
}

.logo {
    width: 80px;
    height: 80px;
    color: var(--on-background);
}

p,
a {
    font-size: calc(20rem / 16);
}

h2 {
    font-size: calc(32rem / 16);
    margin: 0;
}

picture {
    display: contents;
}

source {
    display: none;
}

h1,
h2,
h3,
strong {
    color: var(--on-background-strong);
}

main {
    background:
        url("/assets/pattern.svg") repeat-x bottom calc(-100rem / 16) center /
            auto calc(720rem / 16),
        var(--background);
    padding-bottom: calc(720rem / 16);
    & > section,
    & > header {
        padding: calc(var(--spacing) * 4) calc(var(--spacing) * 12);

        @media (max-width: 1620px) {
            padding: calc(var(--spacing) * 3) calc(var(--spacing) * 6);
        }
        @media (max-width: 1440px) {
            padding: calc(var(--spacing) * 2) calc(var(--spacing) * 4);
        }
        @media (max-width: 1000px) {
            padding: calc(var(--spacing) * 2);
        }
        @media (max-width: 600px) {
            padding: var(--spacing);
        }
    }
}


header#infos-pratiques {
    color-scheme: only dark;
    background:
        var(--picture-gradient),
        url("/assets/photos/web/DSC_1251-800.webp") center / cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    h1 {
        font-size: 3rem;
        margin: 0;
    }
    p {
        font-size: 1.5rem;
        margin: 0;
        color: var(--on-background-strong);
    }
}

main {
    section {
        display: flex;
        flex-direction: column;
        align-items: center;
        header {
            display: flex;
            flex-direction: column;
            align-items: center;

            h2 {
                font-size: 2.5rem;
                margin: 0;
            }

            p {
                margin: 0;
                color: var(--tertiary);
            }
        }
        &:has(aside) {
            display: grid;
            grid-template-areas:
                "header          aside"
                "calendar        aside";
            grid-template-columns: 1fr auto;

            header {
                grid-area: header;
                align-items: start;
            }
            .calendar {
                grid-area: calendar;
            }
            aside {
                grid-area: aside;
            }
        }
    }
}

section#infos-pratiques-details {
    color-scheme: only dark;
    background: var(--background);
    gap: calc(var(--spacing) * 2);

    .grille-conseils {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 1fr auto;

        figure:first-of-type {
            grid-row: span 2;
        }
    }
    .grille-moyens-paiements {
        grid-template-columns: repeat(3, 1fr);
    }

    hr {
        appearance: none;
        border: none;
        width: 100%;
        background-color: var(--border);
        height: 1px;
    }

    .grille-conseils,
    .grille-moyens-paiements {
        display: grid;
        align-items: stretch;
        justify-items: stretch;
        padding: 0;
        gap: var(--spacing);

        figure {
            position: relative;
            display: grid;
            grid-template-columns: 1fr;
            grid-template-rows: 1fr;
            border: 2px solid var(--border);
            padding: 0;
            margin: 0;
            border-radius: var(--radius);
            overflow: hidden;

            &:before {
                content: "";
                position: absolute;
                top: 0;
                bottom: 0;
                left: 0;
                right: 0;
                z-index: 1;
                background: linear-gradient(
                    to top,
                    color-mix(in srgb, var(--background) 90%, transparent) 50%,
                    color-mix(in srgb, var(--background) 10%, transparent)
                );
            }

            img {
                width: 100%;
                height: 100%;
                aspect-ratio: 2 / 1;
                object-fit: cover;
                grid-column: 1;
                grid-row: 1;
            }

            figcaption {
                z-index: 2;
                grid-column: 1;
                grid-row: 1;
                display: flex;
                flex-direction: column;
                justify-content: end;
                padding: var(--spacing);
                padding-top: calc(2 * var(--spacing));
                gap: 0.8rem;
                color: var(--on-background);

                font-weight: 600;
                font-size: 1rem;
                align-self: end;

                h3 {
                    font-size: 1.4rem;
                    margin: 0;
                }
                p {
                    margin: 0;
                    font-weight: 600;
                    font-size: 1rem;
                }
                ul {
                    margin: 0;
                    padding: 0;
                    display: flex;
                    flex-direction: column;
                    gap: 0.8rem;
                    li {
                        margin: 0;
                        list-style: none;
                        &:has(> svg) {
                            display: grid;
                            grid-template-columns: auto 1fr;
                            grid-template-areas: "icon-bullet paragraph";
                            gap: 1rem;
                            .lucide {
                                grid-area: icon-bullet;
                                margin-top: 4px;
                                color: var(--on-background-primary);
                            }
                            p {
                                grid-area: paragraph;
                            }
                        }
                        p {
                            font-size: 1rem;
                            font-weight: 400;
                            color: var(--on-background);
                            strong {
                                display: block;
                                color: var(--on-background-primary-light);
                            }
                        }
                    }
                }
            }
            &:has(> svg) {
                --icon-size: calc(80rem / 16);
                grid-template-rows: var(--icon-size) auto;
                gap: 1rem;
                & > svg {
                    grid-column: 1;
                    grid-row: 1;
                    width: calc(100% - 2 * var(--spacing));
                    height: var(--icon-size);
                    aspect-ratio: 1 / 1;
                    z-index: 3;
                    justify-self: center;
                    margin: var(--spacing);
                    display: block;
                    color: var(--on-background-primary);
                }

                figcaption {
                    grid-row: 2;
                }
            }
        }
        &.row {
            grid-template-columns: repeat(3, auto);
            .grille-conseils figure {
                grid-row: span 1;
                aspect-ratio: 2 / 1;
            }
        }
    }
}

section.picture {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-items: stretch;
    align-items: stretch;
    gap: 4rem;
    background: url("/assets/photos/web/DSC_1239-800.webp") center / cover;
    article {
        min-width: 0;
        background: var(--background);
        padding: var(--spacing);
        border-radius: var(--radius);
        header p {
            color: var(--on-background);
        }
    }
}

@media (max-width: 700px) {
    section#infos-pratiques-details {
        .grille-conseils,
        .grille-moyens-paiements {
            grid-template-columns: minmax(0, 1fr);
            grid-template-rows: auto;
            width: 100%;

            figure {
                min-width: 0;
            }
            figure:first-of-type {
                grid-row: auto;
            }
        }
    }

    section.picture {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--spacing);
    }
}

/* assets/stylesheets/components/opening-calendar.css */
/* Styles isolés du module. Réutiliser la police Quicksand déjà chargée par le site. */
.mh-calendar {
  --mh-ink: #182d2c;
  --mh-green: #00523e;
  --mh-mint: #b4f5d6;
  --mh-muted: #42615a;
  --mh-focus: #038162;
  box-sizing: border-box;
  width: min(1120px, 100%);
  margin-inline: auto;
  color: var(--mh-ink);
  color-scheme: light;
  font-family: "Quicksand", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.4;
}
.mh-calendar *, .mh-calendar *::before, .mh-calendar *::after { box-sizing: border-box; }
.mh-calendar :is(a, button):focus-visible { outline: 3px solid var(--mh-focus); outline-offset: 4px; }
.mh-calendar a { color: var(--mh-green); }
.mh-calendar p { font-size: 1em; }
.mh-calendar__layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; gap: 64px; }
.mh-calendar__panel { min-width: 0; }
.mh-calendar__heading { margin-bottom: 32px; }
.mh-calendar__badge { display: table; margin: 0 0 18px; border: 1px solid #a6c2bc; border-radius: 999px; padding: 6px 14px; color: var(--mh-green); background: var(--mh-mint); font-size: .875em; font-weight: 600; }
.mh-calendar__heading h2 { margin: 0 0 22px; font-size: 1.85em; font-weight: 700; line-height: 1.25; color: var(--mh-ink); }
.mh-calendar__heading p { margin: 0; font-size: 1.0625em; line-height: 1.65; }
.mh-calendar__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.mh-calendar__toolbar h3 { font-size: 1.5em; font-weight: 700; margin: 0; line-height: 1.3; color: var(--mh-ink); }
.mh-calendar__controls { display: flex; gap: 6px; }
.mh-calendar__controls :is(a, button) { font: inherit; font-size: .85em; font-weight: 600; line-height: 1.4; cursor: pointer; background: #edf7f2; color: var(--mh-green); border: 1px solid #c4dbd3; padding: 10px 12px; border-radius: 8px; min-width: 40px; min-height: 42px; }
.mh-calendar__controls :is(a, button):hover { background: var(--mh-mint); }
.mh-calendar .mh-calendar__legend { display: flex; gap: 18px; flex-wrap: wrap; margin: 0 0 22px; font-size: .82em; }
.mh-calendar__legend > span { display: inline-flex; gap: 7px; align-items: center; }
.mh-calendar__dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 1px solid #a6c2bc; }
.mh-calendar__dot--open { background: var(--mh-mint); }
.mh-calendar__dot--closed { background: #e5eeeb; }
.mh-calendar__dot--unknown { background: #fff; }
.mh-calendar__weekdays, .mh-calendar__days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.mh-calendar__weekdays { margin-bottom: 10px; font-size: .8em; font-weight: 600; text-align: center; }
.mh-calendar__days .mh-calendar__date { font: inherit; display: flex; flex-direction: column; align-items: flex-start; gap: 7px; position: relative; min-width: 0; min-height: 87px; border: 1px solid #a9d9c1; border-radius: 10px; padding: 10px 8px; background: #d9f8e8; color: var(--mh-green); text-align: left; cursor: pointer; line-height: 1.2; transition: background .15s, border-color .15s; }
.mh-calendar__date > span { color: inherit; }
.mh-calendar__number { font-size: 1.05em; font-weight: 700; }
.mh-calendar__date-status { font-size: .72em; }
.mh-calendar__status-compact { display: none; }
.mh-calendar__days .mh-calendar__date--closed { background: #eef3f1; border-color: #d2dfda; color: #556c65; }
.mh-calendar__days .mh-calendar__date--unknown { background: #fff; border-color: #d2dfda; color: #556c65; }
.mh-calendar__days .mh-calendar__date:hover { border-color: var(--mh-green); background: #c3e7e4; }
.mh-calendar__days .mh-calendar__date[aria-pressed="true"] { background: var(--mh-green); color: #fff; border-color: var(--mh-green); box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--mh-green); }
.mh-calendar__date[aria-current="date"] .mh-calendar__number::after { content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 5px; background: currentColor; border-radius: 50%; vertical-align: middle; }
.mh-calendar .mh-calendar__footnote { font-size: .78em; color: #556c65; margin: 20px 0 0; }
.mh-calendar__day { min-width: 0; overflow: hidden; background: linear-gradient(150deg, #f5faf0, #e8f7ee); border: 1px solid #bfd3c9; border-radius: 18px; }
.mh-calendar__details { --mh-day-padding: 32px; width: 100%; padding: var(--mh-day-padding); text-align: center; }
.mh-calendar__details h3 { margin: 0 0 22px; padding: 0 0 22px; border-bottom: 1px solid #c9ddd2; font-size: 1em; font-weight: 700; }
.mh-calendar__selected-date { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mh-calendar__weekday { color: var(--mh-green); font-size: 1.1em; font-weight: 600; line-height: 1.4; }
.mh-calendar__day-number { color: var(--mh-green); font-size: 6.25em; font-weight: 500; line-height: 1.1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.mh-calendar__month-year { color: var(--mh-muted); font-size: 1.05em; font-weight: 500; line-height: 1.4; }
.mh-calendar .mh-calendar__selected-status { display: inline-block; color: var(--mh-green); background: var(--mh-mint); border-radius: 999px; padding: 5px 14px; font-size: .9em; font-weight: 600; margin: 0 0 12px; }
.mh-calendar [data-mh-selected]:is([data-state="closed"], [data-state="unknown"]) .mh-calendar__selected-status { color: var(--mh-muted); background: #e2ebe6; }
.mh-calendar .mh-calendar__hours { color: var(--mh-green); font-size: 1.85em; font-weight: 500; line-height: 1.3; margin: 0 0 12px; }
.mh-calendar .mh-calendar__message { color: var(--mh-muted); font-size: 1em; margin: 0 0 28px; line-height: 1.65; }
.mh-calendar .mh-calendar__welcome { font-size: .95em; line-height: 1.5; color: var(--mh-muted); max-width: 290px; margin: 0 auto 24px; }
.mh-calendar__reserve { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0; border-radius: 8px; background: var(--mh-green); color: #fff !important; padding: 12px 16px; font-size: 1.0625em; font-weight: 600; line-height: 1.65; text-decoration: none; }
.mh-calendar__reserve span { color: inherit; }
.mh-calendar__reserve:hover { background: #007957; color: #fff; text-decoration: none; }
.mh-calendar__reserve[hidden] { display: none; }
.mh-calendar .mh-calendar__help { border-top: 1px dashed #a6c2bc; background: #fff; margin: 28px calc(-1 * var(--mh-day-padding)) calc(-1 * var(--mh-day-padding)); padding: 24px var(--mh-day-padding); text-align: left; color: var(--mh-muted); font-size: 1em; line-height: 1.6; }
.mh-calendar__help a { color: var(--mh-green); font-size: 1.1em; font-weight: 600; white-space: nowrap; }
@media (max-width: 1000px) {
  .mh-calendar__layout { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; }
  .mh-calendar__details { --mh-day-padding: 26px; }
  .mh-calendar__days .mh-calendar__date { padding: 9px 6px; }
}
@media (max-width: 800px) {
  .mh-calendar__layout { grid-template-columns: 1fr; gap: 28px; }
  .mh-calendar__heading { margin-bottom: 28px; }
  .mh-calendar__heading h2 { font-size: 1.7em; }
  .mh-calendar__details { --mh-day-padding: 28px; }
  .mh-calendar__days .mh-calendar__date { min-height: 84px; padding: 10px; }
}
@media (max-width: 520px) {
  .mh-calendar__toolbar { align-items: flex-start; flex-wrap: wrap; }
  .mh-calendar__toolbar h3 { font-size: 1.3em; align-self: center; }
  .mh-calendar__controls :is(a, button) { padding: 9px; font-size: .78em; }
  .mh-calendar__days, .mh-calendar__weekdays { gap: 4px; }
  .mh-calendar__days .mh-calendar__date { min-height: 72px; border-radius: 7px; padding: 8px 4px; gap: 8px; }
  .mh-calendar__number { font-size: .95em; }
  .mh-calendar__date-status { font-size: .61em; }
  .mh-calendar__status-full { display: none; }
  .mh-calendar__status-compact { display: inline; }
  .mh-calendar .mh-calendar__legend { gap: 14px; font-size: .75em; }
  .mh-calendar__weekdays { font-size: .7em; }
}
/* Adaptations locales au rendu Tera et aux styles de la page. */
#Horaires-et-calendrier > .calendar { width: 100%; min-width: 0; }
#Horaires-et-calendrier .mh-calendar__day { grid-area: auto; }
.mh-calendar a { text-decoration: none; }
.mh-calendar__controls a { display: inline-flex; align-items: center; justify-content: center; }
.mh-calendar__controls [aria-disabled="true"] { opacity: .45; }
.mh-calendar__notice { color: var(--mh-muted); line-height: 1.5; }
.mh-calendar__notice:empty { display: none; }
.mh-calendar [hidden] { display: none; }
.mh-calendar__day .mh-calendar__hours span { display: block; }
.mh-calendar__days[aria-busy="true"] { opacity: .6; }
.mh-calendar__date[data-selected="true"] { background: var(--mh-green); color: #fff; border-color: var(--mh-green); box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--mh-green); }

.mh-calendar__announcement { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
