@import url('./generated.css');
:root {
  --ink: #011627;
  --accent: #5e4dfb;
  --bs-primary: #5e4dfb;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: Montserrat, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.85;
  color: #4b5054;
  background: #fff;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  color: inherit;
  line-height: 1.3;
}
h1 {
  font-size: 40px;
}
h2 {
  font-size: 34px;
}
h3 {
  font-size: 24px;
}
h4 {
  font-size: 17px;
}
h5 {
  font-size: 15px;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  color: #4733ed;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #947fff;
  outline-offset: 4px;
}
.container {
  max-width: 1160px;
}
.site-header {
  position: relative;
  z-index: 20;
  background: #fff;
  color: var(--ink);
}
.navbar {
  padding: 14px 24px;
  --bs-navbar-color: currentColor;
  --bs-navbar-brand-color: currentColor;
  --bs-navbar-brand-hover-color: currentColor;
  --bs-navbar-hover-color: var(--accent);
  --bs-navbar-active-color: var(--accent);
}
.navbar-brand {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  white-space: normal;
}
.navbar-brand small {
  display: block;
  font-size: 20px;
}
.navbar .nav-link {
  padding: 12px 18px !important;
  font-size: 16px;
}
.home .site-header {
  position: absolute;
  inset: 0 0 auto;
  background: transparent;
  color: #fff;
}
.home .navbar {
  --bs-navbar-active-color: #fff;
  --bs-navbar-hover-color: #fff;
}
.home .navbar-toggler {
  background: #ffffffdf;
}
.home .nav-link {
  color: #ffffffb8;
}
.home .nav-link.active {
  color: #fff;
}
.dropdown-menu {
  font-size: 15px;
}
.btn-primary {
  --bs-btn-bg: var(--accent);
  --bs-btn-border-color: var(--accent);
  --bs-btn-hover-bg: #6f5fff;
  --bs-btn-hover-border-color: #6f5fff;
  --bs-btn-active-bg: #4935df;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 30px;
  text-transform: uppercase;
  line-height: 1.5;
  white-space: normal;
}
.widget {
  margin-bottom: 20px;
  min-width: 0;
}
.widget h1,
.widget h2,
.widget h3,
.widget h4,
.widget h5 {
  margin: 0;
}
.heading {
  color: var(--ink);
}
.text-editor p:last-child {
  margin-bottom: 0;
}
.image {
  text-align: center;
}
figure {
  margin: 0;
}
figcaption {
  font-size: 13px;
  line-height: 1.6;
  margin-top: 8px;
  color: #686e72;
}
.image img {
  max-width: 100%;
  height: auto;
}
.spacer {
  height: var(--space);
}
.icon {
  text-align: center;
  font-size: 46px;
  line-height: 1.2;
  color: #717a81;
}
.contact-list {
  list-style: none;
  padding: 0;
}
.contact-list li {
  margin: 8px 0;
}
.divider hr {
  margin: 28px 0;
  border-color: currentColor;
}
.interior main > .content-section {
  padding: 26px 0;
}
.interior main > .home-hero {
  padding-top: 38px;
}
.inner-section .container-fluid {
  max-width: 100%;
}
.content-section {
  overflow: clip;
}
.home main > .home-hero {
  min-height: 100vh;
}
.home main > .home-hero > .container {
  max-width: 1160px !important;
}
.home main > .home-hero .heading {
  color: white;
}
.home main > .home-hero .image {
  margin: 0;
}
.home main > .home-rates {
  color: #fff;
}
.home main > .home-rates .heading {
  color: inherit;
}
.home main > .home-activities .inner-section:has(.icon) .row {
  flex-wrap: nowrap;
}
.home main > .home-activities .inner-section:has(.icon) .col {
  width: 20%;
  flex: 0 0 20%;
}
.site-footer {
  padding: 55px 0 35px;
  background: var(--ink);
  color: #c5ccd1;
}
.site-footer a {
  color: inherit;
}
.site-footer a:hover {
  color: white;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 65px;
  font-size: 14px;
}
.skip-link {
  position: absolute;
  z-index: 100;
  background: white;
  padding: 10px;
}
.photo-link {
  display: block;
}
.photo-link img {
  transition: filter 0.15s;
}
.photo-link:hover img {
  filter: brightness(0.92);
}
#photoFull {
  max-height: 72vh;
  object-fit: contain;
}
#photoModal .modal-content {
  border: 0;
}
.gallery-page .wp-block-cover {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 550px;
  isolation: isolate;
  color: white;
}
.wp-block-cover__image-background {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-attachment: fixed;
}
.wp-block-cover__background {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.08;
}
.wp-block-cover__inner-container {
  width: min(1140px, 90%);
}
.wp-block-cover__inner-container h1 {
  font-size: 48px;
  color: white;
  text-shadow: 0 1px 6px #0006;
}
.wp-block-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1160px;
  padding: 50px 20px;
  margin: 0 auto !important;
}
.wp-block-gallery .wp-block-image {
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
}
.wp-block-gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.wp-block-gallery figcaption {
  font-size: 13px;
  text-align: center;
}
.availability-calendar {
  max-width: 460px;
  margin: 0 auto 25px;
  padding: 22px;
  border: 1px solid #e2e3e7;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  line-height: 1.4;
}
.calendar-title {
  font-size: 20px;
  margin: 0 0 20px;
}
.calendar-navigation {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.calendar-navigation .form-select {
  font-size: 14px;
  min-width: 0;
}
.calendar-navigation button {
  border: 1px solid #d9dbe3;
  background: white;
  border-radius: 5px;
  min-width: 36px;
  height: 38px;
  color: var(--ink);
}
.calendar-navigation button:hover {
  background: #f2efff;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}
.calendar-day,
.calendar-weekday {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  min-width: 0;
  font-size: 13px;
}
.calendar-weekday {
  font-weight: 700;
  aspect-ratio: auto;
  padding-bottom: 10px;
}
.calendar-day {
  border-radius: 3px;
  background: #dfefda;
  color: #243b22;
}
.calendar-day.busy {
  background: #f5cbc7;
  color: #612d29;
}
.calendar-day.arrival {
  background: linear-gradient(135deg, #dfefda 50%, #f5cbc7 50%);
}
.calendar-day.departure {
  background: linear-gradient(135deg, #f5cbc7 50%, #dfefda 50%);
}
.calendar-day.today {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
  font-weight: 700;
}
.calendar-day.empty {
  background: transparent;
}
.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  margin-top: 18px;
}
.legend-swatch {
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-right: 5px;
  border-radius: 2px;
  background: #dfefda;
}
.legend-swatch.busy {
  background: #f5cbc7;
}
.legend-swatch.partial {
  background: linear-gradient(135deg, #dfefda 50%, #f5cbc7 50%);
}
@media (max-width: 1024px) {
  .navbar {
    padding: 12px 16px;
  }
  .navbar-brand {
    font-size: 21px;
  }
  .navbar-brand small {
    font-size: 17px;
  }
  .navbar .nav-link {
    padding: 10px !important;
  }
  .content-section {
    background-attachment: scroll !important;
  }
  .wp-block-cover__image-background {
    background-attachment: scroll;
  }
  .home main > .home-hero {
    min-height: 760px;
  }
  .home main > .home-hero .spacer {
    max-height: 100px;
  }
}
@media (max-width: 991px) {
  .home .navbar-collapse {
    background: var(--ink);
    border-radius: 6px;
    margin-top: 12px;
    padding: 12px;
  }
  .navbar-collapse {
    padding-top: 12px;
  }
  .navbar .dropdown-menu {
    border: 0;
  }
  .home .navbar-collapse .nav-link {
    color: white;
  }
}
@media (max-width: 767px) {
  body {
    font-size: 14px;
  }
  .container {
    padding-left: 22px;
    padding-right: 22px;
  }
  h1 {
    font-size: 32px;
  }
  h2 {
    font-size: 28px;
  }
  h3 {
    font-size: 22px;
  }
  .home main > .home-hero {
    min-height: 780px;
    background-position: 50% 0 !important;
    padding-top: 155px !important;
  }
  .home main > .home-hero .spacer {
    display: none;
  }
  .home main > .home-hero .image img {
    max-height: 310px;
    max-width: 85%;
    object-fit: contain;
  }
  .home main > .home-hero .button {
    padding-left: 0 !important;
    margin-right: 8px;
  }
  .home main > .home-hero .heading {
    margin-bottom: 22px;
  }
  .btn-primary {
    padding: 12px 22px;
    font-size: 12px;
  }
  .home main > .home-activities .icon {
    font-size: 32px;
  }
  .home main > .home-activities .inner-section:has(.icon) .row {
    --bs-gutter-x: 10px;
  }
  .spacer {
    max-height: 55px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
    gap: 10px;
  }
  .gallery-page .wp-block-cover {
    min-height: 360px !important;
  }
  .wp-block-cover__inner-container h1 {
    font-size: 36px;
  }
  .wp-block-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: 30px 18px;
  }
  .availability-calendar {
    padding: 16px;
  }
  .inner-section .row {
    --bs-gutter-x: 16px;
  }
  .interior main > .content-section {
    padding-left: 0;
    padding-right: 0;
  }
  .image img {
    height: auto;
  }
  .widget iframe {
    max-height: 380px;
  }
  .widget.text-editor {
    overflow-wrap: anywhere;
  }
}
@media (max-width: 420px) {
  .wp-block-gallery {
    grid-template-columns: 1fr;
  }
  .calendar-grid {
    gap: 3px;
  }
  .navbar-brand {
    font-size: 19px;
  }
  .navbar-brand small {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

.page-title {
  font-size: 34px;
}
@media (max-width: 767px) {
  .page-title {
    font-size: 28px;
  }
}

/* Named sections remain stable when accessibility headings are added. */
.home-activities {
  color: #4b5054;
}
.home-activities .heading {
  color: #011627;
}
@keyframes activity-pop {
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .home-activities .icon i {
    display: inline-block;
  }
  .home-activities .icon i:hover {
    animation: activity-pop 0.3s linear 1;
  }
}

/* Persistent navigation; the home hero stays underneath the header. */
html {
  scroll-padding-top: 110px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}
.home .site-header {
  position: fixed;
  inset: 0 0 auto;
}
.site-header.is-scrolled {
  box-shadow: 0 3px 16px rgba(1, 22, 39, 0.15);
}
.home .site-header.is-scrolled {
  background-color: var(--ink);
}
.home .site-header.is-scrolled .nav-link {
  color: #fff;
}
@media (max-width: 991px) {
  .site-header .navbar-collapse {
    max-height: calc(100dvh - 90px);
    overflow-y: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-header {
    transition: none;
  }
}

/* Aligner les trois photos en bas de l’accueil. */
@media (min-width: 768px) {
  .home-chalet .inner-section .row > [class*='col-'] {
    margin-top: var(--bs-gutter-y) !important;
  }
}

/* Contact pictograms embedded in the HTML, without font dependencies. */
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.contact-icon {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 5px;
  color: var(--ink);
}
.contact-label {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Decorative SVGs retain the existing labels and link hit areas. */
.button-image-icon {
  display: inline-block;
  vertical-align: -0.2em;
  margin-right: 0.35em;
  flex-shrink: 0;
}
.language-flag {
  display: inline-block;
  vertical-align: -0.05em;
  margin-right: 0.4em;
  border-radius: 1px;
  box-shadow: 0 0 0 1px rgba(128, 128, 128, 0.25);
  flex-shrink: 0;
}

/* Two-tier footer matching the supplied reference. */
.site-footer {
  padding: 0;
  color: #e1e7ed;
  background: #011627;
}
.footer-contact {
  padding: 30px 0 32px;
  background: linear-gradient(115deg, #40515d 0%, #233b4b 55%, #142d3d 100%);
}
.footer-contact p {
  margin: 0;
  line-height: 1.9;
}
.footer-copyright {
  padding: 21px 0;
  background: #011627;
}
.site-footer .footer-bottom {
  margin-top: 0;
  align-items: center;
  font-size: 15px;
}
.rates-table {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}
.rates-table table {
  font-size: 14px;
  line-height: 1.5;
  --bs-table-border-color: #8d969d;
}
.rates-table th,
.rates-table td {
  padding: 7px 10px;
}
.rates-table tbody th {
  font-weight: 400;
}
.rates-table td {
  white-space: nowrap;
}
.rates-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
@media (max-width: 767px) {
  .footer-contact {
    padding: 28px 0;
  }
  .site-footer .footer-bottom {
    gap: 12px;
    text-align: center;
    font-size: 13px;
  }
  .footer-copyright {
    padding: 20px 0;
  }
}
