/* Shared base for template-based sites. Every colour and font comes from the project's theme
   (src/css/theme.css). The values below are only fallbacks so a fresh template still renders. */

:root {
  --color-bg: #F4F2EE;
  --color-surface: #FFFFFF;
  --color-ink: #1B1D22;
  --color-muted: #5C6270;
  --color-dominant: #1F4E5F;
  --color-accent: #C2410C;
  --color-on-accent: #FFFFFF;
  --color-line: rgba(27, 29, 34, .14);

  --font-display: serif;
  --font-body: sans-serif;
  --weight-strong: 900;
  --weight-light: 200;
  --display-case: none;
  --display-tracking: 0;

  --wrap: 1200px;
  --gutter: clamp(16px, 4.5vw, 56px);
  --header-h: 68px;
  --section: clamp(64px, 9vw, 128px);
  --radius: 4px;
  --bookbar-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font: 400 17px/1.6 var(--font-body);
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 200; padding: 10px 16px; background: var(--color-ink); color: var(--color-bg); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* type */
.h1, .h2, .h3 { font-family: var(--font-display); text-transform: var(--display-case); letter-spacing: var(--display-tracking); text-wrap: balance; }
.h2 { max-width: 18ch; font-weight: var(--weight-strong); font-size: clamp(40px, 5.6vw, 80px); line-height: .95; }
.h3 { font-weight: var(--weight-strong); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.05; }
.intro { margin-top: 18px; max-width: 58ch; }
.muted { color: var(--color-muted); }
.section { padding-block: var(--section); }
.section + .section { padding-top: 0; }

/* buttons: the accent colour is for booking actions only */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 20px;
  border: 1px solid transparent; border-radius: var(--radius);
  background: none; color: inherit;
  font: 600 15px/1.2 var(--font-body); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s, box-shadow .2s, border-color .2s, color .2s;
}
.btn--book { background: var(--color-accent); color: var(--color-on-accent); }
.btn--book:hover { box-shadow: 0 6px 22px -6px var(--color-accent); }
.btn--book-ghost { border-color: var(--color-accent); color: var(--color-accent); }
.btn--book-ghost:hover { background: color-mix(in srgb, var(--color-accent) 10%, transparent); }
.btn--quiet { border-color: var(--color-line); color: var(--color-ink); }
.btn--quiet:hover { border-color: var(--color-ink); }
.book { display: flex; flex-wrap: wrap; gap: 12px; }

/* header */
.top { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--color-bg) 90%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--color-line); }
.top__inner { position: relative; display: flex; align-items: center; gap: 26px; min-height: var(--header-h); }
.top__inner > .mark { margin-right: auto; }
.mark { display: inline-flex; align-items: center; color: inherit; text-decoration: none; }
.mark__name { font: var(--weight-strong) 26px/1 var(--font-display); text-transform: var(--display-case); letter-spacing: var(--display-tracking); }
.mark__logo { width: auto; height: 40px; }
.nav ul { display: flex; gap: 24px; }
.nav a { display: inline-block; padding: 8px 0; font-size: 15px; text-decoration: none; border-bottom: 1px solid transparent; }
.nav a:hover { border-color: currentColor; }
.langs ul { display: flex; }
.langs a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; font-size: 13px; color: var(--color-muted); text-decoration: none; }
.langs a[aria-current] { color: var(--color-ink); box-shadow: inset 0 -2px 0 currentColor; }
.top__cta { min-height: 42px; padding: 8px 16px; }
.top__menu { display: none; align-items: center; gap: 10px; min-height: 42px; padding: 8px 12px; border: 1px solid var(--color-line); border-radius: var(--radius); background: none; color: inherit; font: 600 14px/1 var(--font-body); cursor: pointer; }
.top__menu-bars, .top__menu-bars::before { display: block; width: 16px; height: 2px; background: currentColor; }
.top__menu-bars { position: relative; box-shadow: 0 -5px 0 currentColor; }
.top__menu-bars::before { content: ""; position: absolute; top: 5px; }
.top__back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--color-muted); text-decoration: none; }

/* key facts: never animated */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0; margin-block: clamp(28px, 4vw, 48px); border-top: 2px solid var(--color-dominant); }
.facts li { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px 6px 0; }
.facts strong { font: var(--weight-strong) clamp(20px, 2vw, 26px)/1.1 var(--font-display); text-transform: var(--display-case); }
.facts span { font-size: 15px; color: var(--color-muted); }

/* photo links (open the gallery): hover is a light lift, none with reduced motion */
.photo { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--color-surface); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .photo:hover img { transform: scale(1.03); }
}

/* around map (signature) */
.around__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(28px, 4vw, 56px); align-items: start; margin-top: 36px; }
.around__list { display: grid; gap: 0; counter-reset: poi; }
.around__list li { display: grid; grid-template-columns: 32px 1fr auto; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--color-line); }
.around__n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--color-dominant); color: var(--color-bg); font: 600 13px/1 var(--font-body); }
.around__kind { display: block; font-size: 14px; color: var(--color-muted); }
.around__d { font-size: 14px; color: var(--color-muted); white-space: nowrap; }
.around__map { aspect-ratio: 4 / 3; border-radius: var(--radius); border: 1px solid var(--color-line); background: var(--color-surface); }
.lazy-map__placeholder { position: absolute; inset: 0; display: grid; place-content: center; gap: 10px; padding: 24px; text-align: center; color: var(--color-muted); font-size: 14px; }
.around__note { margin-top: 12px; font-size: 13px; color: var(--color-muted); }

/* footer */
.foot { padding-block: 56px calc(56px + var(--bookbar-h)); background: var(--color-surface); border-top: 1px solid var(--color-line); font-size: 15px; }
.foot__inner { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot__brand p { margin-top: 12px; color: var(--color-muted); }
.foot__h { margin-bottom: 12px; font: 600 14px/1.4 var(--font-body); color: var(--color-muted); }
.foot ul { display: grid; gap: 6px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* mobile booking bar */
.bookbar { display: none; }

/* gallery */
.gallery { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10, 10, 12, .96); color: #F4F4F4; }
.gallery::backdrop { background: rgba(10, 10, 12, .8); }
.gallery[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.gallery__top { display: flex; justify-content: space-between; align-items: center; padding: 12px var(--gutter); }
.gallery__count { font-size: 14px; opacity: .75; }
.gallery__close, .gallery__nav { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: rgba(30, 30, 34, .85); color: inherit; cursor: pointer; }
.gallery__stage { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 0; padding: 0 80px 24px; }
.gallery__img { width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 160px); object-fit: contain; }
.gallery__cap { max-width: 60ch; font-size: 14px; opacity: .75; text-align: center; }
.gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.gallery__nav--prev { left: 16px; }
.gallery__nav--next { right: 16px; }

/* legal + root pages */
.legal { max-width: calc(72ch + 2 * var(--gutter)); padding-block: clamp(48px, 7vw, 96px); }
.legal__title { font: var(--weight-strong) clamp(44px, 6vw, 80px)/.95 var(--font-display); text-transform: var(--display-case); }
.legal .h3 { margin: 40px 0 10px; }
.legal p + p { margin-top: 8px; }
.root { display: grid; place-content: center; gap: 28px; min-height: 100svh; text-align: center; }
.root__langs { display: flex; gap: 24px; justify-content: center; }

@media (max-width: 900px) {
  .top__cta { display: none; }
  .top__inner { gap: 10px; }
  .js .top__menu { display: inline-flex; }
  .js .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 4px var(--gutter) 20px; background: var(--color-bg); border-bottom: 1px solid var(--color-line); }
  .js .nav.is-open { display: block; }
  .js .nav ul { flex-direction: column; gap: 0; }
  .js .nav a { display: block; padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--color-line); }
  .no-js .top__inner { flex-wrap: wrap; }
  .no-js .nav { order: 5; width: 100%; overflow-x: auto; padding-bottom: 6px; }
}

@media (max-width: 768px) {
  body:not(.page-legal):not(.page-root) { --bookbar-h: 76px; }
  .around__inner { grid-template-columns: 1fr; }
  .around__inner > :last-child { order: -1; } /* the map before the list */
  .foot__inner { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
  .bookbar {
    position: fixed; inset: auto 0 0; z-index: 55;
    display: flex; gap: 8px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--color-surface) 96%, transparent);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-top: 1px solid var(--color-line);
  }
  .bookbar .btn { flex: 1; padding-inline: 10px; }
  .bookbar .btn:first-of-type { flex: 1.4; }
  .bookbar .btn:nth-of-type(n + 3) { display: none; }
  .gallery__stage { padding: 0 8px 88px; }
  .gallery__img { max-height: calc(100dvh - 210px); }
  .gallery__nav { top: auto; bottom: 20px; transform: none; }
}

/* Hotel segment: parts shared by every variant. */

/* hero text */
.hero { position: relative; isolation: isolate; }
.hero__overline { font-size: 15px; color: var(--color-muted); margin-bottom: 20px; }
.hero__title { display: flex; flex-direction: column; gap: 10px; font-family: var(--font-display); text-transform: var(--display-case); letter-spacing: var(--display-tracking); }
.hero__strong { font-weight: var(--weight-strong); font-size: clamp(56px, 9vw, 136px); line-height: .9; color: var(--color-dominant); text-wrap: balance; }
.hero__light { font-weight: var(--weight-light); font-size: clamp(28px, 4vw, 56px); line-height: 1.05; text-wrap: balance; }
.hero__lead { margin-top: 24px; max-width: 46ch; font-size: 18px; }
.hero__book { margin-top: 30px; }

/* the one orchestrated load moment: hero text in a short stagger. Booking buttons never wait. */
@keyframes hero-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .load { animation: hero-rise .55s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(.15s + var(--i, 0) * .1s); }
}

/* section heads */
.services__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; margin-bottom: 36px; }

/* contact (shared bits) */
.contact__phone {
  display: inline-block;
  font: var(--weight-strong) clamp(40px, 7vw, 96px)/1 var(--font-display);
  letter-spacing: -.01em;
  white-space: nowrap;
  color: var(--color-dominant);
  text-decoration: none;
}
.contact__phone:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }

@media (max-width: 768px) {
  .hero__book .btn { flex: 1 1 100%; }
  .hero__book .btn:nth-of-type(n + 2) { display: none; } /* the others live in the booking bar */
}

/* contact: panneau: a full-width band in the dominant colour */
.contact--panneau { padding-block: clamp(56px, 8vw, 112px); background: var(--color-dominant); color: var(--color-bg); }
.contact--panneau .contact__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; align-items: end; }
.contact--panneau .contact__phone { color: var(--color-bg); margin-bottom: 20px; }
.contact--panneau .btn--book-ghost { border-color: var(--color-bg); color: var(--color-bg); }
@media (max-width: 768px) {
  .contact--panneau .contact__inner { grid-template-columns: 1fr; }
  .contact--panneau .book { flex-direction: column; }
}

/* galerie: vedette: the first photo large, the others as a row of thumbnails */
.feature { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: 36px; }
.feature li:first-child { grid-column: 1 / -1; }
.feature li:first-child .photo { aspect-ratio: 16 / 8; }
.feature .photo { aspect-ratio: 1; }
.feature li:nth-child(n + 8) { display: none; }
.galerie__all { margin-top: 24px; }
@media (max-width: 768px) {
  .feature { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature li:first-child .photo { aspect-ratio: 4 / 3; }
  .feature li:nth-child(n + 5) { display: none; }
}

/* hero: plein-cadre: full-bleed photo (or short video) with the text on a scrim */
.hero--plein-cadre { display: flex; align-items: flex-end; min-height: min(88svh, 900px); padding-block: 120px clamp(40px, 6vw, 80px); color: #fff; }
.hero--plein-cadre .hero__media { position: absolute; inset: 0; z-index: -1; background: var(--color-dominant); }
.hero--plein-cadre .hero__media img,
.hero--plein-cadre .hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero--plein-cadre .hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .1) 30%, rgba(0, 0, 0, .68) 100%); }
.hero--plein-cadre .hero__strong { color: #fff; }
.hero--plein-cadre .hero__overline { color: rgba(255, 255, 255, .85); }
.hero--plein-cadre .btn--book-ghost { border-color: #fff; color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .hero--plein-cadre .hero__media img { animation: hero-settle 1.4s cubic-bezier(.2, .7, .2, 1) both; }
}
@keyframes hero-settle { from { transform: scale(1.06); } to { transform: none; } }
@media (max-width: 768px) {
  .hero--plein-cadre { min-height: 70svh; padding-top: 64px; } /* the booking button stays above the fold */
}

/* services: rangs: one row per room type, photo and text alternating sides */
.rows { display: grid; gap: clamp(40px, 6vw, 88px); margin-top: 44px; }
.rows__item { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.rows__item:nth-child(even) .rows__photo { order: 2; }
.rows__photo { aspect-ratio: 3 / 2; }
.rows__text p { margin-top: 14px; max-width: 46ch; }
@media (max-width: 768px) {
  .rows__item { grid-template-columns: 1fr; }
  .rows__item:nth-child(even) .rows__photo { order: 0; }
}

/* La Caravelle: what the template doesn't do. Tokens are in theme.css.
   The one bold element: the name "La Caravelle" in Epilogue black over the bungalows. */

/* type: Epilogue black and extra-light, IBM Plex Serif for reading */
body { line-height: 1.65; }
.h2 { font-size: clamp(30px, 3.4vw, 50px); letter-spacing: -.025em; line-height: 1.02; }
.h3 { font: 700 clamp(20px, 1.8vw, 25px)/1.15 var(--font-display); letter-spacing: -.01em; }
.mark__name { font-size: 24px; letter-spacing: -.03em; }
.nav a { font-family: var(--font-display); font-weight: 400; }
.btn { font-family: var(--font-display); font-weight: 700; }

/* a hand-drawn wave under the section titles: the caravelle's wake */
.section .h2::after,
.accueil .h2::after {
  content: "";
  display: block;
  width: 92px;
  height: 12px;
  margin-top: 18px;
  background: var(--color-dominant);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 92 12'%3E%3Cpath d='M2 7c7.5-6 15-6 22.5 0s15 6 22.5 0 15-6 22.5 0 15 6 21 0' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 92 12'%3E%3Cpath d='M2 7c7.5-6 15-6 22.5 0s15 6 22.5 0 15-6 22.5 0 15 6 21 0' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.accueil .h2::after { background: #fff; }

/* header: a soft shadow once the hero is behind */
.top { transition: box-shadow .3s ease; }
.top.is-solid { box-shadow: 0 10px 30px -18px rgba(43, 31, 22, .45); }

/* S1 hero: the name in Epilogue black, very large, over the bungalows */
.hero--plein-cadre { overflow: hidden; min-height: min(74svh, 740px); }
.hero--plein-cadre .hero__media { bottom: -18%; will-change: transform; }
.hero--plein-cadre .hero__media::after {
  background:
    linear-gradient(90deg, rgba(14, 26, 48, .55) 0%, rgba(14, 26, 48, 0) 60%),
    linear-gradient(180deg, rgba(14, 26, 48, .05) 25%, rgba(14, 26, 48, .78) 100%);
}
.hero--plein-cadre .hero__strong { font-size: clamp(52px, 9vw, 136px); line-height: .88; letter-spacing: -.05em; }
.hero--plein-cadre .hero__light { max-width: 24ch; font-size: clamp(21px, 2.4vw, 34px); letter-spacing: -.015em; }
.hero--plein-cadre .hero__overline { font-size: 16px; font-style: italic; }
.hero--plein-cadre .hero__lead { color: rgba(255, 255, 255, .92); }

/* S2 facts: no rule, the numbers in Epilogue black */
.facts { border-top: 0; }
.facts strong { font-size: clamp(22px, 2vw, 28px); letter-spacing: -.02em; }

/* S2b welcome and S6 contact + footer: pirogue blue, a soft light from the top left, and the wake of
   the caravelle (rows of drawn waves, the same stroke as under the titles) fading in from the right */
.accueil { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(64px, 9vw, 128px); color: #F3F2EA;
  background: radial-gradient(120% 90% at 0% 0%, #2A5DAE 0%, var(--color-dominant) 55%, #183F80 100%); }
.accueil::before,
.contact--panneau::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: min(820px, 70%);
  z-index: -1;
  opacity: .16;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='26' viewBox='0 0 96 26'%3E%3Cpath d='M0 13q12-9 24 0t24 0 24 0 24 0' fill='none' stroke='%23F3F2EA' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") 0 0 / 96px 26px;
  -webkit-mask: linear-gradient(270deg, #000 0%, transparent 100%);
          mask: linear-gradient(270deg, #000 0%, transparent 100%);
  pointer-events: none;
}
.accueil__inner { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px clamp(40px, 7vw, 110px); align-items: start; }
.accueil__welcome { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0 .5em; font: 200 clamp(20px, 2.2vw, 28px)/1.2 var(--font-display); letter-spacing: -.01em; color: #C9D6EE; }
.accueil__welcome span + span::before { content: "/"; margin-right: .5em; opacity: .5; }
.accueil .h2 { max-width: 14ch; }
.accueil .intro { max-width: 52ch; font-size: 18px; }
.accueil__list { padding: 28px 0 0; border-top: 2px solid rgba(243, 242, 234, .5); }
.accueil__list ul { margin-top: 16px; }
.accueil__list li { padding: 11px 0; border-bottom: 1px solid rgba(243, 242, 234, .2); }

/* S3 rooms: titles in the dominant blue; the sliding texts never widen the page */
.services { overflow-x: clip; }
.rows__text .h3 { color: var(--color-dominant); }

/* S6 contact + S7 footer: one blue block, the same as the welcome band */
.contact--panneau { position: relative; overflow: hidden; isolation: isolate; padding-bottom: clamp(48px, 6vw, 80px);
  background: radial-gradient(120% 120% at 0% 0%, #2A5DAE 0%, var(--color-dominant) 60%); color: #F3F2EA; }
.contact--panneau .contact__phone { font-size: clamp(24px, 4vw, 44px); letter-spacing: -.02em; }

/* S4 gallery: one large photo; a thumbnail clicked takes its place (js/caravelle.js) */
.feature li:first-child .photo { aspect-ratio: 16 / 8; }
.feature li:first-child img { transition: opacity .35s ease; }
.feature li:first-child.is-swapping img { opacity: 0; }
.feature li:not(:first-child) .photo { cursor: pointer; }
.feature li:not(:first-child) .photo:focus-visible { outline-offset: 3px; }

/* photos: softly rounded corners (the hero photo stays square to the edges) */
.photo, .around__map { border-radius: 14px; }
.feature li:not(:first-child) .photo { border-radius: 10px; }

/* photos: light zoom on hover and keyboard focus */
.photo img { transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .photo:hover img,
  .photo:focus-visible img { transform: scale(1.05); }
}

/* S5 map: pins in pirogue blue */
.around__n { background: var(--color-dominant); color: #fff; }

.foot { background: linear-gradient(180deg, var(--color-dominant) 0%, #183F80 100%); color: #F3F2EA; border-top: 0; padding-top: 0; }
.foot__inner { padding-top: 40px; border-top: 1px solid rgba(243, 242, 234, .28); }
.foot a { color: inherit; }
.foot__brand p, .foot__h { color: #C9D6EE; }

/* ---------- motion (derogation "rich but sober"): only under html.anim, added by js/caravelle.js ---------- */
@media (prefers-reduced-motion: no-preference) {
  .anim [data-anim] { transition: opacity .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), transform .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), clip-path 1s cubic-bezier(.65, 0, .25, 1) var(--d, 0ms); }
  .anim [data-anim="rise"]:not(.is-in) { opacity: 0; transform: translateY(16px); }
  .anim [data-anim="word"]:not(.is-in) { opacity: 0; transform: translateY(.4em); }
  .anim [data-anim="side"]:not(.is-in) { opacity: 0; transform: translateX(28px); }
  .anim .rows__item:nth-child(even) [data-anim="side"]:not(.is-in) { transform: translateX(-28px); }
  .anim [data-anim="wipe"]:not(.is-in) { clip-path: inset(0 100% 0 0); }
  .anim .rows__item:nth-child(even) [data-anim="wipe"]:not(.is-in) { clip-path: inset(0 0 0 100%); }
  .anim [data-anim="wipe"] { clip-path: inset(0 0 0 0); }
  .anim .h2.reveal::after { transform-origin: left; transform: scaleX(0); transition: transform .9s cubic-bezier(.2, .7, .2, 1) .25s; }
  .anim .h2.reveal.is-revealed::after { transform: none; }
}

@media (max-width: 768px) {
  .hero--plein-cadre { min-height: 64svh; }
  .accueil::before, .contact--panneau::before { width: 100%; opacity: .12; }
  .hero--plein-cadre .hero__media { bottom: 0; }
  .accueil__inner { grid-template-columns: 1fr; }
  .feature li:nth-child(n + 5) { display: block; } /* all six thumbnails, two rows of three */
  .mark__name { font-size: 20px; }
}

/* La Caravelle: "Chaux et pirogue". Palette from the hotel's photos (palette.js + the blue gate and
   pirogue, the hibiscus), pair "rivage". AA: ink/bg 14.3, muted/bg 6.1, white/accent 5.5, bg/dominant 7.4. */
:root {
  --color-bg: #F3F2EA;       /* lime-washed walls */
  --color-surface: #FBFAF6;
  --color-ink: #2B1F16;      /* teak of the shutters */
  --color-muted: #5E5B42;    /* olive of the garden */
  --color-dominant: #1E4C96; /* pirogue and gate blue */
  --color-accent: #C4302B;   /* hibiscus: booking actions only */
  --color-on-accent: #FFFFFF;
  --color-line: rgba(43, 31, 22, .14);

  --font-display: "Epilogue", "Segoe UI", sans-serif;
  --font-body: "IBM Plex Serif", Georgia, serif;
  --weight-strong: 900;
  --weight-light: 200;
  --display-case: none;
  --display-tracking: -.02em;
  --radius: 2px;
}

/* Web Studio runtime styles (appended to every site's css/site.css by the engine).
   Uses the site's tokens when they exist, with neutral fallbacks. */

/* demo banner: in the page flow (never covers the header or the booking buttons) */
.demo-banner {
  margin: 0;
  padding: 7px 16px;
  background: var(--color-surface, #1d1d1d);
  color: var(--color-ink, #f2f2f2);
  border-bottom: 1px solid var(--color-line, rgba(255, 255, 255, .15));
  font: 400 13px/1.4 var(--font-body, var(--font-mono, sans-serif));
  text-align: center;
}

/* scroll reveal: the class is only ever added by JS, and never with reduced motion */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s ease-out, transform .5s ease-out;
}
.reveal.is-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* lazy map */
.lazy-map { position: relative; overflow: hidden; isolation: isolate; z-index: 0; } /* keeps Leaflet's layers under the sticky header */
.lazy-map__canvas { position: absolute; inset: 0; }
.lazy-map.is-loaded .lazy-map__placeholder { display: none; }
.lazy-map--dark .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(.9) contrast(.9) saturate(.5); }
.lazy-map .leaflet-container { font: inherit; background: var(--color-surface, #ddd); }
.lazy-map__pin span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-dominant, #222);
  color: var(--color-bg, #fff);
  font: 600 13px/1 var(--font-body, var(--font-mono, sans-serif));
  box-shadow: 0 0 0 3px var(--color-bg, #fff), 0 2px 10px rgba(0, 0, 0, .35);
}
.lazy-map__area { fill: var(--color-dominant, #222); fill-opacity: .14; stroke: var(--color-dominant, #222); stroke-width: 1.5; }
.lazy-map__label.leaflet-tooltip {
  background: var(--color-bg, #fff);
  color: var(--color-dominant, #222);
  border: 1px solid var(--color-dominant, #222);
  font: 600 13px/1.2 var(--font-body, var(--font-mono, sans-serif));
  box-shadow: none;
}
