/* Each layer reveals one word of the original artwork, on the same baseline. */
.lp27-volet__brand .lp27-volet__signature {
    position: relative;
    display: block;
    width: 78%;
    aspect-ratio: 688 / 110;
    margin: .4rem auto 0;
}
.lp27-volet__signature > span {
    position: absolute;
    inset: 0;
    color: var(--oc-orange, #ff8a3d);
    background: currentColor;
    -webkit-mask: url("devise-pinede.svg") center/contain no-repeat;
    mask: url("devise-pinede.svg") center/contain no-repeat;
}
.lp27-volet__signature > span:nth-child(1) { clip-path: inset(0 66.4% 0 0); }
.lp27-volet__signature > span:nth-child(2) { clip-path: inset(0 39.7% 0 33.6%); }
.lp27-volet__signature > span:nth-child(3) { clip-path: inset(0 0 0 60.3%); }

@media (prefers-reduced-motion: no-preference) {
    .lp27-volet__signature > span {
        animation-duration: 10s;
        animation-iteration-count: infinite;
        animation-timing-function: cubic-bezier(.23,.72,.28,1);
    }
    .lp27-volet__signature > span:nth-child(1) { animation-name: lp27-slogan-calme; }
    .lp27-volet__signature > span:nth-child(2) { animation-name: lp27-slogan-luxe; }
    .lp27-volet__signature > span:nth-child(3) { animation-name: lp27-slogan-nature; }
}
@keyframes lp27-slogan-calme {
    0% { color: #fff; transform: translate(-6%, 48%); }
    8%, 100% { color: var(--oc-orange, #ff8a3d); transform: none; }
}
@keyframes lp27-slogan-luxe {
    0%, 2.4% { color: #fff; transform: translate(0, 48%); }
    10.4%, 100% { color: var(--oc-orange, #ff8a3d); transform: none; }
}
@keyframes lp27-slogan-nature {
    0%, 4.8% { color: #fff; transform: translate(6%, 48%); }
    12.8%, 100% { color: var(--oc-orange, #ff8a3d); transform: none; }
}

.lp27-site { --lp27-bar-height: 6.4rem; }
.lp27-stage > .lp27-bandeau {
    display: grid;
    grid-template: "start actions" auto "shortcuts shortcuts" auto / minmax(0,1fr) auto;
    align-content: center;
    gap: .3rem .45rem;
    min-height: var(--lp27-bar-height);
    padding-block: .3rem;
}
.lp27-bandeau__start { grid-area: start; justify-self: start; }
.lp27-bandeau__actions { grid-area: actions; display: flex; align-items: center; justify-self: end; gap: .38rem; }
.lp27-bandeau__contact, .lp27-reseaux { display: flex; align-items: center; }
.lp27-bandeau__contact {
    --lp27-contact-width: 2.75rem;
    position: relative; z-index: 2; padding-inline: .1rem; pointer-events: auto;
}
.lp27-telephone { position: relative; }
.lp27-home-shortcuts { grid-area: shortcuts; display: flex; justify-self: end; gap: .35rem; max-width: 100%; }
.lp27-bandeau__contact, .lp27-raccourci-documents, .lp27-raccourci-plan, .lp27-retour-haut {
    --lp27-icon-accent: var(--oc-orange);
    border: 1px solid var(--oc-edge);
    border-radius: 2rem;
    background: var(--oc-bg);
    color: var(--oc-ink);
}
.lp27-telephone summary, .lp27-raccourci-visite, .lp27-reseaux a {
    box-sizing: border-box;
    display: grid;
    width: var(--lp27-contact-width);
    height: 2.75rem;
    border-radius: 50%;
    place-items: center;
    cursor: pointer;
    list-style: none;
    transition: background-color .18s ease, color .18s ease;
}
.lp27-telephone summary::-webkit-details-marker { display: none; }
.lp27-telephone summary::marker { content: ""; }
.lp27-telephone summary .lp27-icon { width: 1.28rem; height: 1.28rem; }
.lp27-raccourci-visite .lp27-icon { width: 1.5rem; height: 1.5rem; }
.lp27-reseaux a .lp27-icon { width: 1.22rem; height: 1.22rem; }
.lp27-telephone[open] summary, .lp27-bandeau .lp27-telephone summary:is(:hover,:focus-visible),
.lp27-bandeau .lp27-raccourci-visite:is(:hover,:focus-visible),
.lp27-bandeau .lp27-reseaux a:is(:hover,:focus-visible) {
    background: var(--oc-surface);
    color: var(--oc-orange);
}
.lp27-bandeau .lp27-telephone :focus-visible {
    outline: 2px solid var(--oc-blue);
    outline-offset: 3px;
}
.lp27-bandeau a.lp27-telephone__numero {
    position: absolute;
    inset-inline-start: 0;
    top: calc(100% + .35rem);
    display: grid;
    min-height: 2.85rem;
    padding: .65rem 1rem;
    place-items: center;
    border: 1px solid var(--oc-orange);
    border-radius: .45rem;
    background: var(--oc-bg);
    color: var(--oc-ink);
    box-shadow: 0 .24rem 1rem #12182040;
    font: 600 1.06rem/1.15 var(--lp27-sans);
    font-variant-numeric: tabular-nums;
    letter-spacing: .035em;
    white-space: nowrap;
}
.lp27-bandeau a.lp27-telephone__numero:is(:hover,:focus-visible) { color: var(--oc-orange); }
.lp27-bandeau .lp27-home-shortcuts > a, a.lp27-retour-haut {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .42rem;
    min-height: 2.6rem;
    padding: .32rem .82rem;
    font: 600 .88rem/1.15 var(--lp27-sans);
    text-decoration: none;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}
.lp27-home-shortcuts .lp27-icon { flex: 0 0 1.17rem; width: 1.17rem; height: 1.17rem; }
.lp27-home-shortcuts .lp27-practical-external { flex: 0 0 .82rem; width: .82rem; height: .82rem; }
.lp27-bandeau .lp27-home-shortcuts > a:is(:hover,:focus-visible), a.lp27-retour-haut:is(:hover,:focus-visible) {
    border-color: var(--oc-orange);
    background: var(--oc-surface);
    color: var(--oc-ink);
}
a.lp27-retour-haut {
    position: fixed;
    z-index: 18;
    inset-block-end: max(.85rem,env(safe-area-inset-bottom));
    inset-inline-end: max(.85rem,env(safe-area-inset-right));
    min-height: 2.8rem;
    box-shadow: 0 2px 12px rgb(13 23 30 / .32);
}
a.lp27-retour-haut[hidden] { display: none; }
.lp27-retour-haut .lp27-icon { color: var(--oc-orange); width: 1.1rem; height: 1.1rem; }
#lp27-documents-title, #documents-pratiques { scroll-margin-block-start: calc(var(--lp27-bar-height) + var(--lp27-adminbar,0px) + 1.2rem); }
body#lp27-page-start:focus { outline: 0; }

html:has(#lp27-tour-viewer[open]) { overflow: hidden; scrollbar-gutter: stable; }
.lp27-tour-viewer .lp27-tour-viewer__external { justify-content: center; min-width: 2.75rem; color: var(--oc-orange); }
.lp27-tour-viewer [data-tour-media] { background: var(--oc-surface); }
.lp27-tour-viewer iframe { display: block; width: 100%; height: 100%; border: 0; }
.lp27-tour-viewer iframe[data-tour-loading] { visibility: hidden; }

@media (max-width: 760px) {
    html:has(#lp27-tour-viewer[open]) { scrollbar-gutter: auto; }
}
@media (max-width: 600px) {
    .lp27-site { --lp27-bar-height: 6.7rem; }
    .lp27-stage > .lp27-bandeau {
        gap: .3rem;
        padding-inline: max(.6rem, env(safe-area-inset-left)) max(.6rem, env(safe-area-inset-right));
    }
    .lp27-bandeau__name { display: none; }
    .lp27-bandeau .lp27-home-shortcuts > a { min-height: 2.75rem; padding-inline: .64rem; }
    .lp27-bandeau .lp27-bandeau__reserve { min-height: 2.75rem; padding-inline: .66rem; }
    a.lp27-retour-haut { padding: 0; width: 2.8rem; }
    .lp27-retour-haut span {
        position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%);
    }
}
@media (max-width: 500px) {
    .lp27-bandeau .lp27-bandeau__menu {
        position: relative; width: 2.75rem; min-height: 2.75rem; padding: 0;
    }
    .lp27-bandeau__menu span {
        position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%);
    }
}
@media (max-width: 425px) {
    .lp27-bandeau__contact { --lp27-contact-width: 2.25rem; }
}
@media (max-width: 385px) {
    .lp27-bandeau .lp27-bandeau__reserve { padding-inline: .55rem; }
    .lp27-bandeau__reserve > .lp27-icon { display: none; }
}
@media (max-width: 365px) {
    .lp27-bandeau .lp27-home-shortcuts > a {
        gap: .3rem; padding-inline: .5rem; font-size: .82rem;
    }
}
@media (max-width: 355px) {
    .lp27-bandeau .lp27-bandeau__reserve {
        position: relative; width: 2.75rem; padding: 0;
    }
    .lp27-bandeau__reserve > .lp27-icon { display: block; }
    .lp27-bandeau__reserve span {
        position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp27-home-shortcuts > a, a.lp27-retour-haut { transition: none; }
}

/* Leave the pool, terrace and tree canopy visible. The signature on the final photograph sits on its own axis. */
.lp27-landscape [data-slide]:not([data-photo="gazon-resto.jpg"]) .lp27-landscape__copy {
    justify-self: start;
    align-self: var(--lp27-copy-align,start);
    width: min(100%,50rem);
    text-align: start;
}
.lp27-landscape [data-slide]:not([data-photo="gazon-resto.jpg"]) .lp27-landscape__headline {
    margin-inline: 0;
    max-width: var(--lp27-headline-width,16.4ch);
}
.lp27-landscape [data-slide]:not([data-photo="gazon-resto.jpg"])::after {
    background:
        radial-gradient(ellipse 79% 65% at 7% var(--lp27-shade-y,42%),rgb(13 23 30 / .63),rgb(13 23 30 / .31) 48%,transparent 84%),
        linear-gradient(0deg,rgb(13 23 30 / .63),transparent 35%);
}
.lp27-landscape [data-photo="piscine-debord-chauffee.jpg"] {
    --lp27-copy-offset: clamp(2.7rem,10svh,7.2rem);
    --lp27-origin: 70% 73%;
}
.lp27-landscape [data-photo="coin-terrasse.jpg"] {
    --lp27-copy-offset: clamp(3.3rem,13svh,8rem);
    --lp27-headline-width: 18ch;
    --lp27-origin: 62% 69%;
}
.lp27-landscape [data-photo="mobil-home-101-horizontal.jpg"] {
    --lp27-copy-align: end;
    --lp27-shade-y: 79%;
    --lp27-origin: 41% 55%;
}
.lp27-landscape [data-photo="aerienfoot.jpg"] {
    --lp27-copy-align: center;
    --lp27-shade-y: 57%;
    --lp27-origin: 56% 40%;
}
.lp27-landscape [data-photo="coinpiscine.jpg"] {
    --lp27-copy-offset: clamp(2.2rem,8svh,5rem);
    --lp27-origin: 42% 63%;
    --lp27-headline-width: 15ch;
}
.lp27-landscape [data-photo="gazon-resto.jpg"] {
    padding-block: 0;
    --lp27-origin: 54% 60%;
}
.lp27-landscape [data-photo="gazon-resto.jpg"] .lp27-landscape__copy { align-self: center; justify-self: center; text-align: center; }

@container (max-width: 830px) {
    .lp27-home .lp27-landscape { --lp27-brand-top: calc(var(--lp27-bar-height) + .4rem); }
}
@container (max-width: 640px) {
    .lp27-home .lp27-landscape [data-slide]:not([data-photo="gazon-resto.jpg"]) {
        padding-block-start: calc(var(--lp27-brand-top) + var(--lp27-brand-width)*.86 + 1rem);
    }
    .lp27-landscape [data-slide]:not([data-photo="gazon-resto.jpg"]) .lp27-landscape__headline { max-width: 16ch; }
}
@media (orientation: landscape) and (max-height: 540px) {
    @container (min-width: 500px) {
        .lp27-home .lp27-landscape { --lp27-brand-top: 3.55rem; }
    }
}
@media (prefers-reduced-motion: no-preference) {
    html:not(.lp27-shortcuts-ready):has(#lp27-documents-title:target, #lp27-page-start:target) { scroll-behavior: smooth; }
    .lp27-bandeau .lp27-raccourci-documents { animation: lp27-shortcut-in .32s ease-out backwards; }
    @keyframes lp27-shortcut-in {
        from { opacity: 0; translate: 0 -.28rem; }
        to { opacity: 1; translate: 0 0; }
    }
    .lp27-landscape [data-slide]:is(.is-current,.is-previous) img {
        animation: lp27-landscape-breathe 9s linear both paused;
        transform-origin: var(--lp27-origin,50% 50%);
    }
    .lp27-landscape:has([data-pause][data-playing="true"]) [data-slide].is-current img { animation-play-state: running; }
    @keyframes lp27-landscape-breathe { from { transform: scale(1); } to { transform: scale(1.055); } }
}
