:root { color-scheme: light; font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #142019; background: #f2f5f2; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: grid; grid-template-rows: 1fr auto; }
.public-resappart-main { display: grid; place-items: center; padding: 32px 18px; }
.public-resappart-home { background: #17211c; }
.public-resappart-home .public-resappart-main { min-height: 100svh; padding: 0; place-items: stretch; }
.public-resappart-presentation { --panel-bg: rgba(55, 71, 61, .88); --panel-text: #fff; --panel-accent: #fff; position: relative; isolation: isolate; width: 100%; min-height: 100svh; overflow: hidden; background: #202f27; color: var(--panel-text); }
.public-style-colore .public-resappart-presentation { --panel-bg: rgba(8, 112, 74, .9); --panel-accent: #ecfff5; }
.public-style-fun .public-resappart-presentation { --panel-bg: rgba(23, 92, 130, .9); --panel-accent: #fff2a8; }
.public-style-classe .public-resappart-presentation { --panel-bg: rgba(45, 39, 35, .9); --panel-accent: #ecd9b7; }
.public-resappart-slides, .public-resappart-hero-slide { position: absolute; inset: 0; margin: 0; }
.public-resappart-slides { z-index: -2; background: #202f27; }
.public-resappart-hero-slide { opacity: 0; transition: opacity 1.1s ease; }
.public-resappart-hero-slide.is-active { opacity: 1; }
.public-resappart-hero-slide img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.public-resappart-home-panel { width: min(430px, 38vw); min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: clamp(42px, 7vh, 82px) clamp(28px, 4vw, 58px) clamp(110px, 15vh, 150px); background: var(--panel-bg); backdrop-filter: blur(4px); box-shadow: 12px 0 38px rgba(0, 0, 0, .16); }
.public-resappart-languages { display: flex; gap: 8px; margin-bottom: clamp(28px, 5vh, 52px); }
.public-resappart-languages button { min-width: 42px; min-height: 34px; padding: 6px 10px; border: 1px solid rgba(255,255,255,.46); border-radius: 999px; background: transparent; color: inherit; font: inherit; font-size: .78rem; font-weight: 800; letter-spacing: .08em; cursor: pointer; }
.public-resappart-languages button.is-active { border-color: var(--panel-accent); background: var(--panel-accent); color: #1d2b24; }
.public-resappart-presentation [hidden] { display: none !important; }
.public-resappart-presentation h1 { max-width: 12ch; margin: 0; font-size: clamp(2.6rem, 4.6vw, 5.6rem); font-weight: 650; letter-spacing: -.05em; line-height: .94; text-wrap: balance; }
.public-resappart-presentation .public-resappart-description { max-width: 36ch; margin: clamp(22px, 4vh, 38px) 0 0; color: rgba(255, 255, 255, .9); font-size: clamp(.98rem, 1.25vw, 1.2rem); font-weight: 400; letter-spacing: -.01em; line-height: 1.58; text-wrap: pretty; }
.public-resappart-presentation .public-resappart-actions { margin-top: clamp(30px, 5vh, 50px); gap: 14px; }
.public-resappart-presentation .public-resappart-actions a { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; margin: 0; padding: 15px 25px; border: 1px solid rgba(255, 255, 255, .96); border-radius: 999px; background: #fff; color: #17251e; font-size: .96rem; font-weight: 750; letter-spacing: .01em; box-shadow: 0 10px 32px rgba(0, 0, 0, .18); transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.public-resappart-presentation .public-resappart-actions a:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(0, 0, 0, .24); }
.public-resappart-presentation .public-resappart-actions .secondary { border-color: rgba(255, 255, 255, .54); background: rgba(14, 25, 19, .12); color: #fff; box-shadow: none; backdrop-filter: blur(8px); }
.public-resappart-presentation .public-resappart-actions .secondary:hover { border-color: rgba(255, 255, 255, .8); background: rgba(255, 255, 255, .1); }
.public-resappart-signature { position: absolute; left: clamp(28px, 4vw, 58px); bottom: clamp(24px, 4.5vh, 48px); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: rgba(255, 255, 255, .68); font-size: clamp(.72rem, .8vw, .82rem); letter-spacing: .025em; text-shadow: 0 1px 12px rgba(0, 0, 0, .3); }
.public-resappart-signature a { margin: 0; padding: 0; border-radius: 0; background: transparent; color: inherit; font-weight: 500; text-decoration: none; }
.public-resappart-signature a:first-of-type { color: rgba(255, 255, 255, .92); font-weight: 750; }
.public-resappart-signature a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.public-resappart-signature i { font-style: normal; color: rgba(255, 255, 255, .4); }
.public-resappart-card { width: min(720px, 100%); padding: 42px; border: 1px solid #dbe4dd; border-radius: 24px; background: #fff; box-shadow: 0 18px 55px rgba(20, 50, 32, .08); }
.public-resappart-card > p:first-child { margin: 0 0 12px; color: #08704a; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 0 0 16px; font-size: clamp(2rem, 8vw, 4rem); line-height: 1; }
a { display: inline-block; margin-top: 16px; padding: 12px 18px; border-radius: 10px; background: #08704a; color: #fff; font-weight: 700; text-decoration: none; }
.public-resappart-description { white-space: pre-line; line-height: 1.7; }
.public-resappart-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.public-resappart-actions .secondary { border: 1px solid #bfd0c5; background: #fff; color: #145b43; }
.public-resappart-unavailable-page { background: radial-gradient(circle at 18% 8%, rgba(210,232,219,.7), transparent 31%), linear-gradient(145deg, #f8faf8, #eef3f0); }
.public-resappart-unavailable-page .public-resappart-main { min-height: 100svh; padding: clamp(24px, 5vh, 52px) 20px; }
.public-resappart-unavailable-shell { width: min(650px, 100%); }
.public-resappart-unavailable-brand { display: flex; align-items: center; justify-content: center; gap: 9px; margin-bottom: 16px; color: #173d2f; letter-spacing: -.015em; }
.public-resappart-unavailable-brand span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: #08704a; color: #fff; font-family: Georgia, serif; font-size: 19px; font-weight: 700; box-shadow: 0 6px 16px rgba(8,112,74,.16); }
.public-resappart-unavailable-brand strong { font-size: 1rem; }
.public-resappart-unavailable { width: 100%; padding: clamp(26px, 4vw, 38px); border-color: rgba(21,74,52,.12); border-radius: 20px; box-shadow: 0 18px 54px rgba(18,56,39,.08); }
.public-resappart-unavailable .public-resappart-kicker { margin: 0 0 9px; color: #08704a; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.public-resappart-unavailable h1 { max-width: 24ch; margin: 0 0 15px; font-size: clamp(1.75rem, 3.5vw, 2.35rem); font-weight: 720; letter-spacing: -.035em; line-height: 1.12; }
.public-resappart-unavailable-copy { display: grid; gap: 2px; max-width: 560px; color: #59675f; font-size: .94rem; line-height: 1.48; }
.public-resappart-unavailable-copy p { margin: 0; }
.public-resappart-assistance-line { margin: 16px 0 0; color: #1d513d; font-size: .9rem; font-weight: 720; letter-spacing: -.01em; }
.public-space-search { margin-top: 26px; padding-top: 23px; border-top: 1px solid #e3eae5; }
.public-space-search > label { display: block; margin-bottom: 8px; color: #173c2d; font-size: .84rem; font-weight: 760; }
.public-space-search-field { min-height: 48px; display: flex; align-items: center; gap: 10px; padding: 0 13px; border: 1px solid #c4d1c8; border-radius: 11px; background: #fcfdfc; box-shadow: 0 3px 12px rgba(15,57,37,.035); transition: border-color .2s, box-shadow .2s, background-color .2s; }
.public-space-search-field:focus-within { border-color: #16815a; background: #fff; box-shadow: 0 0 0 3px rgba(22,129,90,.1), 0 5px 18px rgba(15,57,37,.06); }
.public-space-search-field svg { width: 18px; flex: 0 0 auto; fill: none; stroke: #61776d; stroke-width: 1.8; stroke-linecap: round; }
.public-space-search-field input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: #142019; font-size: .9rem; line-height: 1.3; }
.public-space-search-field input::placeholder { color: #87928c; font-size: .84rem; }
.public-space-results { display: grid; gap: 7px; margin-top: 9px; }
.public-space-result { width: 100%; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0; padding: 11px 13px; border: 1px solid #dce4de; border-radius: 10px; background: #fff; color: #183c2e; box-shadow: 0 3px 12px rgba(15,57,37,.025); }
.public-space-result:hover { border-color: #9dbbaa; background: #f7fbf8; }
.public-space-result span { min-width: 0; display: grid; gap: 3px; }
.public-space-result strong { overflow: hidden; text-overflow: ellipsis; }
.public-space-result small { overflow: hidden; color: #68776e; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.public-space-result b { flex: 0 0 auto; color: #08704a; font-size: .78rem; }
.public-space-empty, .public-space-loading { margin: 0; padding: 12px 13px; border-radius: 10px; background: #f3f6f4; color: #65736a; font-size: .82rem; line-height: 1.42; }
.public-resappart-unavailable-note { margin: 12px 0 0; color: #7b877f; font-size: .7rem; text-align: center; }
footer { padding: 18px; text-align: center; color: #617067; font-size: 13px; }
.public-page-head { width: min(1180px, 100%); margin: 0 auto 28px; }
.public-page-head > div > p { margin-bottom: 8px; color: #08704a; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.public-back { margin: 0 0 26px; padding: 0; background: transparent; color: #145b43; }
.public-logement-grid { width: min(1180px, 100%); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.public-logement-card { margin: 0; padding: 0; overflow: hidden; border: 1px solid #dbe4dd; border-radius: 20px; background: #fff; color: #142019; box-shadow: 0 12px 34px rgba(20, 50, 32, .07); }
.public-logement-card img { width: 100%; aspect-ratio: 4 / 3; display: block; object-fit: cover; }
.public-logement-card div { display: grid; gap: 8px; padding: 20px; }
.public-logement-card p, .public-logement-card h2 { margin: 0; }
.public-logement-card p { color: #5d6c63; font-size: 14px; }
.public-logement-card strong { margin-top: 8px; color: #08704a; }
.public-gallery { width: min(1180px, 100%); display: grid; grid-template-columns: 2fr 1fr; gap: 10px; }
.public-gallery-photo { min-height: 240px; margin: 0; overflow: hidden; border-radius: 14px; background: #dfe7e1; }
.public-gallery-photo.main { grid-row: span 2; min-height: 500px; }
.public-gallery-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.public-logement-detail { width: min(1180px, 100%); display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; margin-top: 28px; }
.public-logement-detail p { white-space: pre-line; line-height: 1.7; }
.public-logement-detail aside { display: grid; gap: 14px; align-content: start; padding: 24px; border: 1px solid #dbe4dd; border-radius: 18px; background: #fff; }
.public-logement-detail aside strong { color: #08704a; font-size: 20px; }
.public-logement-detail button { padding: 12px; border: 0; border-radius: 10px; background: #dce5df; color: #66726a; font-weight: 700; }
.public-calendar-section { width: min(1180px, 100%); margin-top: 48px; }
.public-calendar-section > div:first-child > p { margin-bottom: 6px; color: #08704a; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.public-calendar-section h2 { margin: 0 0 8px; font-size: 32px; }
.public-calendar-message { position: sticky; top: 0; z-index: 2; margin: 22px 0 14px; padding: 14px 18px; border: 1px solid #cfe0d5; border-radius: 12px; background: #f7fbf8; color: #145b43; font-weight: 700; }
.public-calendar-months { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.public-calendar-month { padding: 18px; border: 1px solid #dbe4dd; border-radius: 16px; background: #fff; }
.public-calendar-month h3 { margin: 0 0 14px; text-transform: capitalize; }
.public-calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; text-align: center; }
.public-calendar-grid .weekday { padding: 5px; color: #758078; font-size: 12px; font-weight: 800; }
.public-calendar-grid button { aspect-ratio: 1; border: 0; border-radius: 8px; font: inherit; }
:where(.public-calendar-grid button.available) { background: #d9eee0; color: #075c3d; cursor: pointer; }
.public-calendar-grid button.unavailable, .public-calendar-grid button:disabled { background: #eef0ee; color: #a1aaa4; cursor: not-allowed; }
.public-calendar-grid button.selected-start, .public-calendar-grid button.selected-end { background: #2457a7; color: #fff; }
.public-calendar-grid button.selected-range { background: #dbe8fb; color: #173f7a; }
.public-calendar-grid button.arrival-boundary { background: linear-gradient(135deg, #eef0ee 49%, #d9eee0 51%); color: #075c3d; }
.public-calendar-grid button.departure-boundary { background: linear-gradient(135deg, #d9eee0 49%, #eef0ee 51%); color: #075c3d; }
.public-calendar-grid button.arrival-boundary.departure-boundary { background: #eef0ee; color: #a1aaa4; cursor: not-allowed; }
.public-calendar-grid button.selected-start, .public-calendar-grid button.selected-end { background: #2457a7; color: #fff; }
.public-calendar-summary { position: sticky; bottom: 12px; z-index: 3; display: grid; grid-template-columns: 1fr auto auto; gap: 18px; align-items: center; margin-top: 18px; padding: 18px; border-radius: 16px; background: #142019; color: #fff; box-shadow: 0 12px 36px rgba(10, 30, 18, .25); }
.public-calendar-summary strong { font-size: 20px; }
.public-calendar-summary button { padding: 12px 18px; border: 0; border-radius: 10px; background: #20a46f; color: #fff; font-weight: 800; }
.public-calendar-summary button:disabled { background: #58665e; color: #bdc6c0; }
.public-booking-form { width: min(900px, 100%); margin: 42px auto 0; padding: 28px; border: 1px solid #dbe4dd; border-radius: 20px; background: #fff; }
.public-booking-form[hidden] { display: none; }
.public-booking-form > div:first-child > p { margin-bottom: 6px; color: #08704a; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.public-booking-form h2 { margin: 0 0 8px; }
.public-booking-form form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.public-booking-form label { display: grid; gap: 7px; font-weight: 400; }
.public-booking-form input, .public-booking-form textarea { width: 100%; padding: 12px; border: 1px solid #cdd8d1; border-radius: 9px; font: inherit; }
.public-booking-checkbox { grid-template-columns: auto 1fr; align-items: start; grid-column: 1 / -1; }
.public-booking-checkbox input { width: 18px; height: 18px; }
.public-booking-message, .public-booking-consent, .public-booking-form button { grid-column: 1 / -1; }
.public-booking-form button { padding: 14px; border: 0; border-radius: 10px; background: #08704a; color: #fff; font-weight: 800; }
.public-booking-trap { position: absolute; left: -10000px; }
.public-booking-notice, .public-booking-error { margin-top: 16px; padding: 14px; border-radius: 10px; }
.public-booking-notice { background: #e8f5ed; color: #145b43; }
.public-booking-error { background: #fff0ef; color: #942f28; }
.public-contact-card { margin: 0 auto; }
.public-contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.public-contact-form label { display: grid; gap: 7px; font-weight: 400; }
.public-contact-form input, .public-contact-form textarea { width: 100%; box-sizing: border-box; padding: 12px; border: 1px solid #cbd7ce; border-radius: 9px; font: inherit; }
.public-contact-message, .public-contact-consent, .public-contact-form button { grid-column: 1 / -1; }
.public-contact-form button { padding: 14px; border: 0; border-radius: 10px; background: #08704a; color: #fff; font-weight: 800; }
@media (max-width: 760px) { .public-resappart-presentation { min-height: 100svh; padding-top: min(48vh, 390px); overflow: visible; background: #202f27; } .public-resappart-slides { height: min(48vh, 390px); } .public-resappart-home-panel { width: 100%; min-height: calc(100svh - min(48vh, 390px)); padding: 24px 22px 108px; background: var(--panel-bg); box-shadow: 0 -10px 34px rgba(0,0,0,.16); } .public-resappart-languages { margin-bottom: 24px; } .public-resappart-presentation h1 { max-width: 14ch; font-size: clamp(2.55rem, 13vw, 4.4rem); line-height: .95; } .public-resappart-presentation .public-resappart-description { margin-top: 18px; font-size: clamp(.98rem, 4.3vw, 1.12rem); line-height: 1.5; } .public-resappart-presentation .public-resappart-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 26px; } .public-resappart-presentation .public-resappart-actions a { width: 100%; min-height: 50px; } .public-resappart-signature { right: 22px; bottom: 24px; left: 22px; justify-content: center; gap: 6px; text-align: center; } .public-resappart-card { padding: 28px 22px; border-radius: 18px; } }
@media (max-width: 600px) { .public-resappart-unavailable-page .public-resappart-main { align-items: start; padding: 20px 13px 28px; } .public-resappart-unavailable-brand { justify-content: flex-start; margin: 0 7px 14px; } .public-resappart-unavailable { padding: 25px 19px; border-radius: 17px; } .public-resappart-unavailable h1 { max-width: 20ch; font-size: clamp(1.65rem, 7.5vw, 2.05rem); } .public-resappart-unavailable-copy { font-size: .9rem; } .public-space-search { margin-top: 23px; padding-top: 20px; } .public-space-search-field { min-height: 50px; padding: 0 12px; } .public-space-search-field input { font-size: 16px; } .public-space-search-field input::placeholder { font-size: .78rem; } .public-space-result { align-items: flex-start; flex-direction: column; gap: 6px; padding: 12px; } .public-space-result b { width: 100%; min-height: 32px; display: flex; align-items: center; justify-content: space-between; } }
@media (prefers-reduced-motion: reduce) { .public-resappart-presentation .public-resappart-actions a, .public-resappart-hero-slide { transition: none; } }
@media (max-width: 900px) { .public-logement-grid { grid-template-columns: 1fr 1fr; } .public-logement-detail { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .public-calendar-months { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .public-logement-grid { grid-template-columns: 1fr; } .public-gallery { grid-template-columns: 1fr; } .public-gallery-photo.main, .public-gallery-photo { min-height: 260px; } .public-calendar-months { grid-template-columns: 1fr; } .public-calendar-summary { grid-template-columns: 1fr; gap: 8px; } .public-booking-form form { grid-template-columns: 1fr; } .public-booking-form label, .public-booking-form button { grid-column: 1; } }
