@import url("https://fonts.googleapis.com/css2?family=Young+Serif&family=Instrument+Sans:wght@400..700&display=swap");


/* ==========================================================================
   1. Tokens
   ========================================================================== */

:root {
  --cs-paper: #ffffff;
  --cs-mist: #eef4f5;              /* lake-tinted section */
  --cs-line: #d9e4e6;

  --cs-ink: #1f2d30;
  --cs-ink-soft: #4c5b5e;
  --cs-title: #14303a;

  --cs-lake: #1d6273;              /* links, accents on light ground */
  --cs-lake-light: #3d7f8f;
  --cs-pine: #1c3330;              /* footer */
  --cs-on-pine: #d5e2df;
  --cs-sun: #f0b27a;               /* warm accent, decorative */
  --cs-sun-text: #f3c9a2;          /* warm accent readable on pine */

  /* the poster landscape */
  --cs-sky-top: #bcd7e1;
  --cs-sky-low: #f2dcc1;
  --cs-ridge-far: #8fb0bb;
  --cs-ridge-near: #2f5a55;
  --cs-water: #3d7f8f;
  --cs-water-deep: #2a6474;

  --cs-font-title: "Young Serif", Georgia, "Times New Roman", serif;
  --cs-font-text: "Instrument Sans", "Segoe UI", Verdana, Arial, sans-serif;

  --cs-container: 1180px;
  --cs-gutter: clamp(1rem, 4vw, 2rem);
  --cs-radius: 8px;
}


/* ==========================================================================
   2. Base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--cs-font-text);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--cs-ink);
  background-color: var(--cs-paper);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
  vertical-align: middle;
}

a {
  color: var(--cs-lake);
}

a:hover {
  color: var(--cs-ink);
}

h1, h2, h3, h4 {
  margin: 0 0 0.6em;
  font-family: var(--cs-font-title);
  font-weight: 400;
  line-height: 1.2;
  color: var(--cs-title);
}

h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 2.9rem); }
h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.8rem); }
h3 { font-size: 1.25rem; }

p {
  margin: 0 0 1em;
}

strong,
b {
  font-weight: 600;
}

::selection {
  color: var(--cs-title);
  background: var(--cs-sun);
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.container {
  width: 100%;
  max-width: calc(var(--cs-container) + 2 * var(--cs-gutter));
  margin-inline: auto;
  padding-inline: var(--cs-gutter);
}

@media print {
  .hide-print {
    display: none !important;
  }
}


/* ==========================================================================
   3. Template parts that cannot work in a restored copy
   ========================================================================== */

/* Mobile top bar and slide-out menu (need the template's scripts);
   the main header below is used at every width instead */
.header-sidebars,
.sidebar-right,
.header-sidebars + .sidebar-right + div[style*="height:65px"],
div.hidden-md.hidden-lg[style*="height"] {
  display: none !important;
}

/* Feedback button and sharing buttons of the CMS */
.fd-avis_satisfaction,
.btn-partage {
  display: none !important;
}

/* Bare "En savoir +" texts whose links were lost: hidden by setting the
   containers' own text to zero size and giving their real children a size */
.home-slider .slide,
.section-title,
.encart {
  font-size: 0;
}

.home-slider .slide > *,
.section-title > *,
.encart > * {
  font-size: 1rem;
}

.section-title:has(> h2:empty) {
  display: none;
}

.menu_footer .menu-item:not(:has(a)) {
  display: none;
}


/* ==========================================================================
   4. Header: a landscape poster drawn in CSS
   ========================================================================== */

#mocha-head {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-bottom: clamp(12.5rem, 28vw, 18rem);
  background: linear-gradient(180deg, var(--cs-sky-top) 0%, #e3e6dc 48%, var(--cs-sky-low) 72%);
}

/* the sun, low in the sky, half behind the ridges */
#mocha-head::before {
  content: "";
  position: absolute;
  right: 17%;
  bottom: clamp(5rem, 15vw, 11rem);
  z-index: -1;
  width: clamp(5rem, 12vw, 9rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #f7cfa0 0%, var(--cs-sun) 70%);
}

/* the ridges */
#mocha-head .background-image {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  height: clamp(12rem, 32vw, 24rem);
  pointer-events: none;
}

#mocha-head .background-image::before,
#mocha-head .background-image::after {
  content: "";
  position: absolute;
  inset: 0;
}

#mocha-head .background-image::before {
  background-color: var(--cs-ridge-far);
  clip-path: polygon(0% 64%, 8% 54%, 15% 60%, 23% 44%, 31% 54%, 38% 40%, 46% 46%, 55% 8%, 62% 30%, 69% 20%, 77% 37%, 85% 15%, 92% 31%, 100% 22%, 100% 100%, 0% 100%);
}

#mocha-head .background-image::after {
  background-color: var(--cs-ridge-near);
  clip-path: polygon(0% 74%, 9% 66%, 19% 72%, 31% 60%, 43% 66%, 55% 52%, 67% 66%, 79% 50%, 89% 60%, 100% 54%, 100% 100%, 0% 100%);
}

/* the lake, with a few lines of reflected light */
#mocha-head::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  height: clamp(3rem, 7vw, 5.5rem);
  background:
    repeating-linear-gradient(180deg, transparent 0 9px, rgba(255, 255, 255, 0.08) 9px 10px),
    linear-gradient(180deg, var(--cs-water) 0%, var(--cs-water-deep) 100%);
}

#mocha-head > .container {
  position: relative;
}

#mocha-head .row:first-child > .span12 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-block: 1.25rem;
}

#mocha-head .logo img {
  display: block;
  width: auto;
  max-height: 72px;
}

.menu_principal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu_principal a {
  position: relative;
  display: block;
  padding: 0.5rem 0.9rem;
  font-weight: 600;
  color: var(--cs-title);
  text-decoration: none;
}

.menu_principal a:hover {
  color: var(--cs-lake);
}

/* the page you are on */
.menu_principal .active > a::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.2rem;
  height: 2px;
  background-color: var(--cs-lake);
}

.home-slider .slides {
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-slider .slides > li {
  display: block !important;
  width: auto !important;
  opacity: 1 !important;
}

.home-slider .slide {
  padding-top: clamp(1.5rem, 5vw, 4rem);
}

.home-slider .titre1 {
  max-width: 14ch;
  margin-bottom: 0.75rem;
  font-family: var(--cs-font-title);
  font-size: clamp(2.6rem, 1.6rem + 4.4vw, 4.75rem);
  line-height: 1.02;
  color: var(--cs-title);
}

.home-slider .desciption-accueil {
  max-width: 34ch;
  margin: 0;
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
  line-height: 1.5;
  color: #23424b;
}

@media (max-width: 47.99em) {
  #mocha-head .row:first-child > .span12 {
    justify-content: center;
  }

  #mocha-head .logo img {
    max-height: 56px;
  }

  #mocha-head::before {
    right: 10%;
  }
}


/* ==========================================================================
   5. Presentation (photo + text)
   ========================================================================== */

.portfolio-wrapper {
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.portfolio-wrapper .section-title {
  margin-bottom: 1.75rem;
}

.portfolio-wrapper .section-title h1 {
  margin: 0;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 2.9rem);
}

.portfolio-slider {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.portfolio-slider > .portfolio-item:first-child {
  position: sticky;
  top: 1.5rem;
}

.portfolio-slider > .portfolio-item:first-child img {
  display: block;
  width: 100%;
  border-radius: var(--cs-radius);
}

/* The template's custom scroll box: shown as normal text */
.portfolio-item.mCustomScrollbar,
.portfolio-item .mCustomScrollBox,
.portfolio-item .mCSB_container {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  position: static !important;
  top: auto !important;
}

.mCSB_scrollTools {
  display: none !important;
}

.sub_content h2 {
  margin-top: 1.6rem;
}

.sub_content h3 {
  margin-top: 1.4rem;
}

.sub_content ul {
  margin: 0 0 1em;
  padding: 0;
  list-style: none;
}

.sub_content li {
  position: relative;
  padding: 0.25rem 0 0.25rem 1.4rem;
}

.sub_content li::before {
  content: "";
  position: absolute;
  top: 0.85em;
  left: 0.2rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--cs-lake-light);
}

@media (max-width: 47.99em) {
  .portfolio-slider {
    grid-template-columns: minmax(0, 1fr);
  }

  .portfolio-slider > .portfolio-item:first-child {
    position: static;
  }
}


/* ==========================================================================
   6. Activities and accommodation (the card slider, shown as a grid)
   ========================================================================== */

.page.zone2 {
  padding-block: clamp(3rem, 7vw, 5rem);
  background-color: var(--cs-mist);
}

.swiper-wrapper {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 1.5rem;
  transform: none !important;
}

.swiper-slide {
  width: auto !important;
  margin: 0 !important;
}

.swiper-pagination {
  display: none;
}

.img-encart {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--cs-line);
  background-position: center;
  background-size: cover;
  border-radius: var(--cs-radius);
}

.img-encart img {
  display: none;
}

.encart h2 {
  margin: 0.8rem 0 0;
  font-size: 1.25rem !important;
  line-height: 1.25;
}


/* ==========================================================================
   7. Footer
   ========================================================================== */

footer.zone1 {
  padding-top: clamp(3rem, 6vw, 4.5rem);
  color: var(--cs-on-pine);
  background-color: var(--cs-pine);
}

.widgets-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 2.5rem;
}

.widgets-wrapper .joindre {
  display: contents;
}

footer .widget .title {
  margin: 0 0 0.9rem;
  font-family: var(--cs-font-title);
  font-size: 1.3rem;
  color: var(--cs-sun-text);
}

footer .widget p {
  margin: 0 0 0.6rem;
}

footer iframe {
  display: block;
  border-radius: var(--cs-radius);
}

/* Phone number: always shown, large */
.callTracker .t_affiche {
  display: none !important;
}

.callTracker .t_phone {
  display: inline !important;
  font-size: 1.35rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
}

footer a {
  color: var(--cs-on-pine);
}

footer a:hover {
  color: #ffffff;
}

/* "Recherches fréquentes": a tidy scrolling list */
footer .widget .mCustomScrollbar {
  max-height: 15rem !important;
  overflow-y: auto !important;
  padding-right: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

footer .widget .mCustomScrollBox,
footer .widget .mCSB_container {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  position: static !important;
}

.menu_referencement {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu_referencement li {
  padding: 0.35rem 0;
  font-size: 0.9375rem;
  line-height: 1.4;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.menu_referencement a {
  text-decoration: none;
}

.menu_referencement a:hover {
  text-decoration: underline;
}

.copyrights {
  margin-top: 3rem;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyrights-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.copyright-footer {
  margin: 0;
  color: rgba(213, 226, 223, 0.6);
}

/* Agency logo drawn in one muted colour (its colours lived in the old theme) */
#logo_FD :is(path, polygon, rect) {
  fill: currentColor;
}

#logo_FD {
  max-width: 100%;
  height: auto;
}

.menu_footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
}

.menu_footer a {
  text-decoration: none;
}

.menu_footer a:hover {
  text-decoration: underline;
}


/* ==========================================================================
   8. Cookie notice (Klaro) fallback, in case its own stylesheet is missing
   ========================================================================== */

.klaro .cookie-notice:not(.cookie-modal-notice) {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 1000;
  max-width: 26rem;
  margin-left: auto;
  padding: 1.1rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--cs-ink);
  background-color: var(--cs-paper);
  border-top: 3px solid var(--cs-lake);
  border-radius: var(--cs-radius);
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.45);
}

.klaro .cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background-color: rgba(20, 30, 32, 0.55);
}

.klaro .cookie-modal .cm-modal {
  max-width: 40rem;
  max-height: 85vh;
  overflow: auto;
  padding: 1.5rem;
  color: var(--cs-ink);
  background-color: var(--cs-paper);
  border-radius: var(--cs-radius);
}

.klaro .cm-btn {
  margin: 0.4rem 0.4rem 0 0;
  padding: 0.55rem 1rem;
  font: inherit;
  font-weight: 600;
  color: #ffffff;
  background-color: var(--cs-lake);
  border: 0;
  border-radius: 5px;
  cursor: pointer;
}

.klaro .cm-btn.cm-btn-decline,
.klaro .cm-btn.cn-decline {
  color: var(--cs-lake);
  background-color: transparent;
  box-shadow: inset 0 0 0 1.5px var(--cs-lake);
}


/* ==========================================================================
   9. Focus and motion
   ========================================================================== */

:focus-visible {
  outline: 2px solid var(--cs-lake);
  outline-offset: 2px;
}

footer :focus-visible {
  outline-color: var(--cs-sun-text);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}