@font-face {
  font-family: "Playfair Display Bold";
  src: url("../fonts/playfairdisplay_bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geomanist Book";
  src: url("../fonts/geomanist_book.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geomanist Light";
  src: url("../fonts/geomanist_light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geomanist Medium";
  src: url("../fonts/geomanist_medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geomanist Bold";
  src: url("../fonts/geomanist_bold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --color1: #1a3c35;
  --color1-light: rgba(26, 60, 53, 0.1);
  --color2: #2d8a94;
  --color2-dark: #247580;
  --color2-light: rgba(45, 138, 148, 0.15);
  --color-sand: #faf8f5;
  --color-sand-dark: #f0ece3;
  --border-color: #e5e0d5;
  --white: #ffffff;
  --gray: #4a504d;
  --gray-light: #f3f1ec;
  --body-background-color: #faf8f5;

  --font1: "Playfair Display Bold", Georgia, serif;
  --font2: "Geomanist Book", sans-serif;
  --font3: "Geomanist Light", sans-serif;
  --font4: "Geomanist Medium", sans-serif;
  --font5: "Geomanist Bold", sans-serif;
  --desc-font: var(--font2);

  --title1-size: 38px;
  --title2-size: 13px;
  --desc-size: 15px;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --card-shadow: 0 8px 24px rgba(26, 60, 53, 0.06);
  --card-shadow-hover: 0 14px 36px rgba(26, 60, 53, 0.12);
  --site-texture: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  --ecartZones: 90px;
  --padding: 25px;
  --headerHeight: 80px;
  --container-max: 1400px;
}

@media screen and (min-width: 1280px) {
  :root {
    --ecartZones: 110px;
    --padding: 100px;
    --container-max: 1680px;
    --title2-size: 15px;
    --desc-size: 14px;
    --headerHeight: 90px;
  }
}

@media screen and (min-width: 1600px) {
  :root {
    --ecartZones: 120px;
    --title1-size: 48px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--body-background-color);
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  font-family: var(--desc-font);
  font-size: var(--desc-size);
  color: var(--gray);
  background: var(--body-background-color);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

body.body-site {
  opacity: 1;
  background-color: var(--body-background-color);
  background-image: var(--site-texture);
  background-size: 220px 220px;
}

@media screen and (min-width: 1280px) {
  body.body-site::after {
    content: "";
    position: fixed;
    top: 0;
    right: 0;
    width: min(18vw, 220px);
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(270deg, rgba(26, 60, 53, 0.05) 0%, transparent 100%);
    z-index: 0;
    pointer-events: none;
  }

  main.zones {
    position: relative;
    z-index: 1;
  }
}

a {
  color: var(--color1);
  text-decoration: none;
  transition: color 0.2s;
  -webkit-tap-highlight-color: transparent;
}

a:visited {
  color: var(--color1);
}

a:hover {
  color: var(--color2);
}

a:focus {
  outline: none;
}

a:focus-visible {
  outline: 2px solid var(--color2);
  outline-offset: 3px;
}

button,
[role="button"],
.news-card,
.agenda-card,
.social-card {
  -webkit-tap-highlight-color: transparent;
}

button:focus {
  outline: none;
}

button:focus-visible {
  outline: 2px solid var(--color2);
  outline-offset: 3px;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--padding);
}

.zones .zone:not(:first-child) {
  margin-top: var(--ecartZones);
}

.zones .zone[class*="zone-bg-"] {
  margin-top: 0 !important;
}

.zone-bg-sand {
  background: var(--color-sand);
}

.zone-bg-sand-dark {
  background: var(--color-sand-dark);
}

.zone-bg-white {
  background: var(--white);
}

.zone-bg-sand,
.zone-bg-sand-dark,
.zone-bg-white {
  position: relative;
  isolation: isolate;
  padding: var(--ecartZones) 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.zones .zone[class*="zone-bg-"] + .zone[class*="zone-bg-"],
.zones .diapo + .zone[class*="zone-bg-"] {
  padding-top: calc(var(--ecartZones) * 0.85);
}

.zones .zone[class*="zone-bg-"] + .zone[class*="zone-bg-"]::before,
.zones .diapo + .zone[class*="zone-bg-"]::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  height: clamp(12px, 2vw, 22px);
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      transparent 0%,
      color-mix(in srgb, var(--border-color) 55%, var(--color1) 45%) 12%,
      color-mix(in srgb, var(--color2) 38%, var(--border-color) 62%) 50%,
      color-mix(in srgb, var(--border-color) 55%, var(--color1) 45%) 88%,
      transparent 100%
    )
    top / 100% 1px no-repeat,
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--border-color) 24%, transparent) 0%,
      transparent 100%
    );
}

.zone-bg-sand::after,
.zone-bg-sand-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--site-texture);
  background-size: 220px 220px;
  opacity: 0.035;
  pointer-events: none;
  z-index: 0;
}

.zone-bg-sand > .container,
.zone-bg-sand-dark > .container,
.zone-bg-white > .container {
  position: relative;
  z-index: 1;
}

.feed-panel,
.section-panel {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px);
  box-shadow:
    0 16px 48px rgba(26, 60, 53, 0.1),
    0 4px 12px rgba(26, 60, 53, 0.05);
}

.section-panel {
  --reveal-progress: 0;
  transform: translateY(calc(14px * (1 - var(--reveal-progress))))
    scale(calc(0.985 + 0.015 * var(--reveal-progress)));
  will-change: transform;
}

.zone-bg-white .feed-panel,
.zone-bg-white .section-panel {
  background: var(--color-sand);
}

.feed-panel .filter-tabs {
  margin-bottom: 24px;
}

.feed-panel .load-more-container {
  margin-top: 24px;
  margin-bottom: 0;
}

.zones .zone:first-child:not(.diapo) {
  margin-top: calc(var(--headerHeight) + 50px);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--headerHeight);
  background: var(--white);
  display: flex;
  align-items: center;
  padding: 0 var(--padding);
  gap: 20px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header.header-transparent {
  background-color: transparent;
  box-shadow: none;
}

body.menu-open,
body.drawer-open {
  overflow: hidden !important;
  height: 100vh;
  height: 100dvh;
  touch-action: none;
}

body.menu-open .header,
body.drawer-open .header,
.header:has(nav.open),
.header:has(.quick-drawer.open) {
  background-color: var(--white) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08) !important;
}

body.menu-open .header .logo,
body.drawer-open .header .logo,
body.menu-open .header .services-highlight-btn,
body.drawer-open .header .services-highlight-btn,
.header:has(nav.open) .logo,
.header:has(nav.open) .services-highlight-btn {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-title {
  font-family: var(--font3);
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.logo-village {
  font-family: var(--font1);
  font-size: 28px;
  color: var(--color1);
}

.header .logo {
  flex-shrink: 0;
  transition: opacity 0.3s ease;
}

.header.header-transparent .logo {
  opacity: 0;
  pointer-events: none;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: var(--color-sand);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  cursor: pointer;
  width: 42px;
  height: 42px;
  padding: 8px;
  margin-left: 0;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

.menu-toggle:hover {
  background: var(--white);
  border-color: var(--color1);
  box-shadow: 0 5px 16px rgba(26, 60, 53, 0.15);
  transform: translateY(-1px);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color1);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.services-highlight-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-left: auto;
  margin-right: 8px;
  background: linear-gradient(135deg, var(--color2) 0%, var(--color2-dark) 100%);
  color: var(--white);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(45, 138, 148, 0.35), 0 2px 5px rgba(0, 0, 0, 0.08);
  transition: opacity 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  flex-shrink: 0;
}

.services-highlight-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(45, 138, 148, 0.45), 0 3px 8px rgba(0, 0, 0, 0.12);
  filter: brightness(1.08);
}

.services-highlight-btn .pill-icon {
  font-size: 20px;
  line-height: 1;
}

.header.header-transparent .services-highlight-btn {
  opacity: 0;
  pointer-events: none;
}

.header nav {
  position: fixed;
  top: var(--headerHeight);
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(100vh - var(--headerHeight));
  height: calc(100dvh - var(--headerHeight));
  background: var(--white);
  display: flex;
  flex-direction: column;
  padding: 20px;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  z-index: 999;
}

.header nav.open {
  transform: translateX(0);
}

.nav-panel-header {
  display: none;
}

.nav-backdrop {
  display: none;
}

@media screen and (min-width: 1280px) {
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 36, 32, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1997;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-backdrop.open {
    opacity: 1;
    pointer-events: auto;
  }

  body.menu-open .header {
    z-index: 1998;
  }

  .header nav {
    top: 0;
    left: auto;
    right: 0;
    bottom: 0;
    width: min(440px, 92vw);
    height: 100vh;
    height: 100dvh;
    padding: 0;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.18);
    z-index: 1998;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 24px 24px 16px;
    border-bottom: 1px solid var(--border-color);
    background: var(--color-sand);
    flex-shrink: 0;
  }

  .nav-wrapper {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px 0;
  }

  .side-links {
    flex-shrink: 0;
    margin-top: 0;
    padding: 20px;
    border-top: 1px solid var(--border-color);
  }
}

.nav-wrapper {
  width: 100%;
}

.main-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0;
}

.main-page {
  position: relative;
  width: 100%;
  border-bottom: 1px solid var(--border-color);
}

.main-page .page-name {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
  padding: 14px 12px;
  cursor: pointer;
  border: none;
  background: none;
  text-align: left;
  transition: color 0.2s;
  text-decoration: none;
}

.page-name-text {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 8px;
  line-height: 1.25;
}

.page-name-title {
  font-family: var(--font5);
  color: var(--color1);
  font-size: 14.5px;
  font-weight: 600;
}

.page-name-sub {
  font-family: var(--font4);
  font-size: 12px;
  color: #838a87;
}

.page-name-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(45, 138, 148, 0.12);
  font-size: 16px;
  font-weight: 700;
  color: var(--color2);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease, color 0.25s ease;
  user-select: none;
  flex-shrink: 0;
}

.main-page.active .page-name-title,
.main-page.active .page-name-sub {
  color: var(--color2);
}

.sub-menu {
  position: static;
  display: none !important;
  box-shadow: none;
  border: none;
  border-left: 3px solid var(--color2);
  margin: 0 0 12px 12px;
  padding: 4px 0;
  background: var(--color-sand);
  border-radius: 6px;
  list-style: none;
}

.main-page.has-childs.open .sub-menu {
  display: block !important;
}

.main-page.has-childs.open .page-name-arrow {
  transform: rotate(180deg);
  background: var(--color2);
  color: var(--white);
}

.sub-page-name {
  display: block;
  padding: 10px 16px;
  font-size: 13.5px;
  color: var(--gray);
  transition: background 0.2s, color 0.2s;
}

.sub-page-name:hover,
.sub-page.active .sub-page-name {
  background: var(--gray-light);
  color: var(--color1);
}

.side-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.side-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  font-size: 12px;
  font-family: var(--font4);
  color: var(--color1);
  background: var(--color-sand);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: background 0.2s;
  position: relative;
}

.side-link:hover {
  background: var(--gray-light);
}

.side-icon {
  font-size: 16px;
}

.side-link--horaires .see-more {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--color1);
  color: var(--white);
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 12px;
  min-width: 200px;
  text-align: center;
  z-index: 200;
}

.side-link--horaires .see-more p {
  margin: 4px 0;
}

.side-link--shortcuts-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.shortcuts-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color1);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 20px;
  font-family: var(--font4);
  font-size: 11.5px;
  font-weight: 500;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(26, 60, 53, 0.2);
}

.shortcuts-pill .side-icon {
  font-size: 13px;
}

.side-link--shortcuts-btn:hover .shortcuts-pill {
  background: var(--color2);
  transform: translateY(-1px);
}

/* Quick Drawer (Top-Right Shortcuts Panel) */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 36, 32, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.quick-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 92vw);
  background: var(--white);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.18);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.quick-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  padding: 24px 24px 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  background: var(--color-sand);
}

.drawer-title-group h3 {
  font-family: var(--font1);
  font-size: 22px;
  color: var(--color1);
  margin: 4px 0 0;
}

.drawer-badge {
  font-family: var(--font4);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color2);
  font-weight: 600;
}

.drawer-close {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--gray);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}

.drawer-close:hover {
  background: var(--border-color);
  color: var(--color1);
}

.drawer-search {
  padding: 16px 24px 12px;
  background: var(--color-sand);
}

.drawer-search input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  font-family: var(--font2);
  font-size: 13.5px;
  background: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.drawer-search input:focus {
  border-color: var(--color2);
  box-shadow: 0 0 0 3px var(--color2-light);
}

.drawer-section {
  padding: 16px 24px;
  flex: 1;
  overflow-y: auto;
}

.drawer-shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.drawer-shortcut-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--color-sand);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  transition: all 0.2s ease;
  color: var(--color1);
}

.drawer-shortcut-card:hover {
  background: var(--white);
  border-color: var(--color2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 60, 53, 0.08);
  color: var(--color2);
}

.drawer-shortcut-card.hidden {
  display: none;
}

.drawer-shortcut-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.drawer-shortcut-label {
  font-family: var(--font4);
  font-size: 12.5px;
  line-height: 1.3;
  font-weight: 500;
}

.drawer-footer-info {
  padding: 16px 24px;
  border-top: 1px solid var(--border-color);
  background: var(--color-sand);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}

.drawer-info-item .info-icon {
  font-size: 18px;
}

.drawer-info-item strong {
  display: block;
  font-family: var(--font4);
  color: var(--color1);
  margin-bottom: 2px;
}

.drawer-info-item p {
  margin: 0;
  color: #6a706d;
}

.drawer-info-item a {
  color: var(--color2);
  font-weight: 600;
}
.zone1.diapo {
  position: relative;
  isolation: isolate;
  height: 70vh;
  min-height: 500px;
  margin-top: 0 !important;
}

.diapo-media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.diapo-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 120% 100% at center,
      transparent 42%,
      rgba(19, 43, 38, 0.26) 100%
    ),
    linear-gradient(
      180deg,
      rgba(19, 43, 38, 0.36) 0%,
      rgba(19, 43, 38, 0.06) 34%,
      rgba(19, 43, 38, 0.06) 66%,
      rgba(19, 43, 38, 0.36) 100%
    );
}

.hero-slideshow {
  overflow: hidden;
  background: #1a3c35;
}

.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-slide.is-top {
  z-index: 2;
}

.hero-slide.is-leaving {
  z-index: 1;
}

.hero-slide-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity var(--hero-fade-ms, 1s) ease-in-out;
}

.hero-slide.is-on .hero-slide-image {
  opacity: 1;
}

.hero-slide-motion {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  will-change: transform;
  transform: scale(1) translate(0, 0);
}

.hero-slide-motion img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.hero-slide-motion.is-motion-run {
  animation: heroKenBurns var(--hero-cycle-ms, 7s) ease-in-out forwards;
}

.hero-slide.is-entering .hero-slide-motion.is-motion-run {
  animation-name: heroKenBurnsEnter;
  animation-duration: var(--hero-enter-cycle-ms, 9s);
}

.hero-slide[data-animated="true"] .hero-slide-motion.is-motion-run {
  animation: none;
}

@keyframes heroKenBurns {
  0%,
  18% {
    transform: scale(1) translate(0, 0);
  }

  100% {
    transform: scale(var(--hero-scale-end, 1.12)) translate(var(--hero-pan-x, 0%), var(--hero-pan-y, 0%));
  }
}

@keyframes heroKenBurnsEnter {
  0% {
    transform: scale(1) translate(0, 0);
  }

  100% {
    transform: scale(var(--hero-scale-end, 1.12)) translate(var(--hero-pan-x, 0%), var(--hero-pan-y, 0%));
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide-motion {
    animation: none !important;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: none;
  }

  .hero-slide-motion img {
    animation: none !important;
    transform: none;
  }
}

/* Mobile hero: fade on wrapper, zoom on image (iOS skips nested transform animations) */
@media screen and (max-width: 1279px) {
  .hero-slide-image {
    opacity: 0;
    overflow: hidden;
    transform: translateZ(0);
    transition: opacity var(--hero-fade-ms, 1s) ease-in-out;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }

  .hero-slide.is-on .hero-slide-image {
    opacity: 1;
  }

  .hero-slide-motion {
    inset: -14%;
    width: 128%;
    height: 128%;
    transform: scale(1);
    transform-origin: var(--hero-origin-x, 50%) var(--hero-origin-y, 40%);
  }

  .hero-slide-motion.is-motion-run,
  .hero-slide.is-entering .hero-slide-motion.is-motion-run,
  .hero-slide[data-animated="true"] .hero-slide-motion.is-motion-run {
    animation: none;
  }

  .hero-slide-motion img {
    opacity: 1;
    transform: none;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  .hero-slide-motion.is-motion-run img,
  .hero-slide.is-entering .hero-slide-motion.is-motion-run img,
  .hero-slide[data-animated="true"] .hero-slide-motion.is-motion-run img {
    animation: none;
  }
}

.placeholder-hero {
  background: linear-gradient(145deg, #132b26 0%, #1a3c35 45%, #2a564c 75%, #5c412f 100%);
}

.diapo-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--white);
  padding: var(--padding);
  pointer-events: none;
}

.diapo-content::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(92%, 820px);
  height: min(72%, 520px);
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(
    ellipse at center,
    rgba(19, 43, 38, 0.3) 0%,
    rgba(19, 43, 38, 0.12) 48%,
    transparent 72%
  );
}

.hero-badge {
  display: inline-block;
  font-family: var(--font4);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f7d299;
  background: rgba(247, 210, 153, 0.15);
  border: 1px solid rgba(247, 210, 153, 0.3);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  backdrop-filter: blur(4px);
}

.diapo-content h2 {
  font-family: var(--font3);
  font-size: 16px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin: 0 0 6px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 4px 18px rgba(0, 0, 0, 0.45);
}

.diapo-content h1 {
  font-family: var(--font1);
  font-size: clamp(48px, 9vw, 92px);
  margin: 0 0 20px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.35),
    0 8px 28px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(19, 43, 38, 0.35);
}

.diapo-content p {
  max-width: 680px;
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.42), 0 4px 18px rgba(0, 0, 0, 0.48);
}

/* Placeholder images */
.placeholder-image {
  background: linear-gradient(145deg, #ede7dc 0%, #dbd2c2 100%);
  position: relative;
  min-height: 200px;
}

.placeholder-image::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font4);
  font-size: 13px;
  color: #6d665b;
  opacity: 0.75;
}
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.placeholder-image.large {
  min-height: 350px;
  border-radius: 4px;
}

/* Services slider */
.zone2.slidercards {
  background: var(--color1);
  padding: 40px 0;
  margin-top: 0 !important;
}

.services-slider,
.cards-slider {
  position: relative;
}

.services-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 10px 0;
}

.services-track::-webkit-scrollbar {
  display: none;
}

.service-card {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--white);
  min-width: 130px;
  transition: background 0.2s, transform 0.2s;
  text-align: center;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  transform: translateY(-2px);
}

.service-icon {
  font-size: 28px;
}

.service-label {
  font-size: 12px;
  font-family: var(--font4);
  line-height: 1.3;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  background: var(--color2);
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s;
}

.slider-btn:hover {
  background: var(--color2-dark);
}

.slider-btn.prev {
  left: -10px;
}

.slider-btn.next {
  right: -10px;
}

/* Section titles & subtitles with scroll-triggered left-to-right fade */
.section-title,
.section-subtitle,
.split-text h2,
.split-text h3,
.page-content h1 {
  --reveal-progress: 0;
  opacity: var(--reveal-progress);
  transform: translateX(calc(-40px * (1 - var(--reveal-progress))));
  will-change: opacity, transform;
}

@media screen and (min-width: 1280px) {
  .section-reveal {
    --reveal-progress: 0;
    opacity: var(--reveal-progress);
    transform: translateX(calc(-40px * (1 - var(--reveal-progress))));
    will-change: opacity, transform;
  }
}

.section-reveal-image {
  --reveal-progress: 0;
  opacity: var(--reveal-progress);
  transform: translateX(calc(40px * (1 - var(--reveal-progress))));
  will-change: opacity, transform;
}

.guestbook-card.section-reveal-image {
  transform: translateX(calc(48px * (1 - var(--reveal-progress))));
}

/* Section background slides — mobile: scroll-linked header band (sticky while section scrolls) */
@media screen and (max-width: 1279px) {
  .zone-has-slide {
    isolation: isolate;
    --slide-band-height: min(44vh, 340px);
    --slide-opacity-max: 0.76;
  }

  .zone-trails.zone-has-slide {
    --slide-band-height: min(34vh, 260px);
    --slide-opacity-max: 0.72;
  }

  .zone-bg-sand.zone-has-slide {
    --slide-opacity-max: 0.74;
    --slide-heading-bg: rgba(250, 248, 245, 0.88);
  }

  .zone-bg-sand-dark.zone-has-slide {
    --slide-opacity-max: 0.68;
    --slide-heading-bg: rgba(240, 236, 227, 0.9);
  }

  .zone-bg-white.zone-has-slide {
    --slide-opacity-max: 0.78;
    --slide-heading-bg: rgba(255, 255, 255, 0.92);
  }

  .texteimage.zone-has-slide .section-slide {
    display: none !important;
  }

  .section-slide {
    --reveal-progress: 0;
    --slide-tail-clip: 1;
    position: sticky;
    top: calc(var(--headerHeight) + 8px);
    z-index: 0;
    height: var(--slide-band-height);
    margin: 0 0 calc(var(--slide-band-height) * -0.22);
    pointer-events: none;
    overflow: hidden;
    opacity: var(--reveal-progress);
    will-change: transform, opacity;
    transform: translate3d(0, calc(18px * (1 - var(--reveal-progress))), 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }

  .section-slide.is-tail-clipping {
    clip-path: inset(0 0 calc((1 - var(--slide-tail-clip)) * 100%) 0);
  }

  .section-slide--from-left {
    transform: translate3d(
      calc(-5vw * (1 - var(--reveal-progress))),
      calc(18px * (1 - var(--reveal-progress))),
      0
    );
  }

  .section-slide--from-right {
    transform: translate3d(
      calc(5vw * (1 - var(--reveal-progress))),
      calc(18px * (1 - var(--reveal-progress))),
      0
    );
  }

  .section-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--slide-object-position, center center);
    display: block;
    opacity: var(--slide-opacity-max);
    filter: saturate(0.9);
  }

  .zone-has-slide:not(.texteimage) > .container {
    position: relative;
    z-index: 1;
  }

  .zone-has-slide:not(.texteimage) > .container > .section-title:first-child {
    position: relative;
    z-index: 2;
    margin-inline: calc(-1 * var(--padding));
    margin-bottom: 0;
    padding: 14px var(--padding) 8px;
    background: var(--slide-heading-bg);
    border: 1px solid rgba(26, 60, 53, 0.03);
    border-bottom: none;
    border-radius: 12px 12px 0 0;
    box-shadow: none;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: auto;
  }

  .zone-has-slide:not(.texteimage) > .container > .section-title:first-child + .section-subtitle {
    position: relative;
    z-index: 2;
    margin-inline: calc(-1 * var(--padding));
    margin-top: 0;
    margin-bottom: 24px;
    padding: 0 var(--padding) 16px;
    background: var(--slide-heading-bg);
    border: 1px solid rgba(26, 60, 53, 0.03);
    border-top: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 14px rgba(26, 60, 53, 0.03);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: auto;
  }

  .zone-has-slide .section-panel,
  .zone-has-slide .feed-panel {
    transform: none;
    will-change: auto;
  }
}

/* Section background slides — desktop: full section block, half-screen image */

@media screen and (min-width: 1280px) {
  .zone-has-slide {
    overflow: hidden;
    --slide-band: 30vw;
    --slide-image-width: min(54vw, 58%);
    --slide-gutter: clamp(16px, 2vw, 32px);
    --slide-wash-color: color-mix(in srgb, var(--color-sand) 76%, var(--color1) 24%);
    --slide-wash-opacity: 0.36;
    --slide-mask-vertical: linear-gradient(to bottom, #000 0%, #000 100%);
    --slide-mask-from-left: linear-gradient(
      to right,
      #000 0%,
      #000 24%,
      rgba(0, 0, 0, 0.94) 38%,
      rgba(0, 0, 0, 0.82) 50%,
      rgba(0, 0, 0, 0.66) 62%,
      rgba(0, 0, 0, 0.48) 72%,
      rgba(0, 0, 0, 0.3) 82%,
      rgba(0, 0, 0, 0.14) 91%,
      rgba(0, 0, 0, 0.05) 97%,
      transparent 100%
    );
    --slide-mask-from-right: linear-gradient(
      to left,
      #000 0%,
      #000 24%,
      rgba(0, 0, 0, 0.94) 38%,
      rgba(0, 0, 0, 0.82) 50%,
      rgba(0, 0, 0, 0.66) 62%,
      rgba(0, 0, 0, 0.48) 72%,
      rgba(0, 0, 0, 0.3) 82%,
      rgba(0, 0, 0, 0.14) 91%,
      rgba(0, 0, 0, 0.05) 97%,
      transparent 100%
    );
  }

  .zone-trails.zone-has-slide {
    --slide-band: 26vw;
    --slide-image-width: min(48vw, 52%);
  }

  .zone-bg-sand.zone-has-slide {
    --slide-wash-color: color-mix(in srgb, var(--color-sand) 78%, var(--color1) 22%);
    --slide-wash-opacity: 0.34;
  }

  .zone-bg-sand-dark.zone-has-slide {
    --slide-wash-color: color-mix(in srgb, var(--color-sand-dark) 74%, var(--color1) 26%);
    --slide-wash-opacity: 0.38;
  }

  .zone-bg-white.zone-has-slide {
    --slide-wash-color: color-mix(
      in srgb,
      color-mix(in srgb, var(--white) 72%, var(--color-sand) 28%) 88%,
      var(--color2) 12%
    );
    --slide-wash-opacity: 0.3;
  }

  .zone-bg-sand .section-slide {
    --slide-opacity-max: 0.96;
  }

  .zone-bg-sand-dark .section-slide {
    --slide-opacity-max: 0.9;
  }

  .zone-bg-white .section-slide {
    --slide-opacity-max: 0.98;
  }

  .section-slide {
    --reveal-progress: 0;
    --slide-opacity-max: 0.88;
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    isolation: isolate;
    will-change: transform;
  }

  .section-slide img {
    position: absolute;
    top: 0;
    bottom: 0;
    width: var(--slide-image-width);
    height: 100%;
    object-fit: cover;
    object-position: var(--slide-object-position, center center);
    display: block;
    opacity: calc(var(--reveal-progress) * var(--slide-opacity-max));
    filter: saturate(0.84) contrast(0.98) sepia(0.05);
    will-change: transform, opacity;
  }

  .section-slide::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: var(--slide-image-width);
    z-index: 1;
    pointer-events: none;
    background: var(--slide-wash-color);
    mix-blend-mode: multiply;
    opacity: calc(var(--reveal-progress) * var(--slide-wash-opacity));
    -webkit-mask-image: var(--slide-mask-vertical), var(--slide-mask-from-left);
    mask-image: var(--slide-mask-vertical), var(--slide-mask-from-left);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
  }

  .section-slide--from-left {
    transform: translateX(calc(-14vw * (1 - var(--reveal-progress))));
  }

  .section-slide--from-right {
    transform: translateX(calc(14vw * (1 - var(--reveal-progress))));
  }

  .section-slide--from-left img {
    left: 0;
    -webkit-mask-image: var(--slide-mask-vertical), var(--slide-mask-from-left);
    mask-image: var(--slide-mask-vertical), var(--slide-mask-from-left);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
  }

  .section-slide--from-left::before {
    left: 0;
    background: linear-gradient(
      to right,
      transparent 0%,
      color-mix(in srgb, var(--slide-wash-color) 22%, transparent) 24%,
      var(--slide-wash-color) 52%
    );
  }

  .section-slide--from-right img {
    right: 0;
    left: auto;
    -webkit-mask-image: var(--slide-mask-vertical), var(--slide-mask-from-right);
    mask-image: var(--slide-mask-vertical), var(--slide-mask-from-right);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
  }

  .section-slide--from-right::before {
    right: 0;
    left: auto;
    background: linear-gradient(
      to left,
      transparent 0%,
      color-mix(in srgb, var(--slide-wash-color) 22%, transparent) 24%,
      var(--slide-wash-color) 52%
    );
    -webkit-mask-image: var(--slide-mask-vertical), var(--slide-mask-from-right);
    mask-image: var(--slide-mask-vertical), var(--slide-mask-from-right);
  }

  /* Content containers alternate sides; wider than the image band alone (images unchanged) */
  .zone-has-slide.zone-slide-left:not(.texteimage):not(.zone-trails) > .container {
    margin-left: auto;
    margin-right: var(--slide-gutter);
    max-width: min(var(--container-max), calc(75vw - var(--slide-gutter)));
  }

  .zone-has-slide.zone-slide-right:not(.texteimage):not(.zone-trails) > .container {
    margin-right: auto;
    margin-left: var(--slide-gutter);
    max-width: min(var(--container-max), calc(75vw - var(--slide-gutter)));
  }

  .zone-trails.zone-has-slide.zone-slide-right > .container,
  .zone-trails.zone-has-slide.zone-slide-left > .container {
    margin-left: var(--slide-gutter);
    margin-right: var(--slide-gutter);
    max-width: min(var(--container-max), calc(100vw - var(--slide-band) - (2 * var(--slide-gutter))));
  }

  .zone-trails.zone-has-slide.zone-slide-right > .container {
    margin-right: auto;
  }

  .zone-trails.zone-has-slide.zone-slide-left > .container {
    margin-left: auto;
  }

  .texteimage.zone-has-slide.zone-slide-left .section-slide img,
  .texteimage.zone-has-slide.zone-slide-right .section-slide img {
    width: min(42vw, 46%);
  }
}

.section-title {
  font-family: var(--font1);
  font-size: var(--title1-size);
  color: var(--color1);
  margin: 0 0 8px;
  line-height: 1.2;
}

.section-subtitle {
  font-family: var(--font4);
  font-size: var(--title2-size);
  color: var(--color2);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin: 0 0 30px;
}

/* Filter tabs */
.filter-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 8px 18px;
  border: 1px solid var(--border-color);
  background: var(--white);
  color: var(--color1);
  font-family: var(--font4);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 20px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.filter-tab.active,
.filter-tab:hover {
  background: var(--color1);
  color: var(--white);
  border-color: var(--color1);
  box-shadow: 0 4px 12px rgba(26, 60, 53, 0.2);
}

/* News grid & Social feed cards */
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(45, 138, 148, 0.3);
}

.news-card.hidden {
  display: none;
}

.social-card-header {
  padding: 16px 20px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-sand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
}

.author-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.author-name {
  font-family: var(--font4);
  font-size: 13px;
  color: var(--color1);
  font-weight: 600;
  line-height: 1.2;
}

.news-date {
  font-size: 11px;
  color: #8c8f8d;
}

.category-badge {
  font-size: 11px;
  font-family: var(--font4);
  color: var(--color2);
  background: var(--color2-light);
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 500;
  white-space: nowrap;
}

.category-badge--evenements {
  color: #a4386e;
  background: rgba(164, 56, 110, 0.12);
}

.category-badge--patrimoine {
  color: #276f49;
  background: rgba(39, 111, 73, 0.12);
}

.category-badge--loisirs {
  color: #2a564c;
  background: rgba(42, 86, 76, 0.14);
}

.category-badge--actualites {
  color: var(--color2);
  background: var(--color2-light);
}

.news-card-image {
  height: 180px;
  margin: 0;
}

.news-card-body {
  padding: 16px 20px 12px;
  flex: 1;
}

.news-card h3 {
  font-family: var(--font1);
  font-size: 19px;
  color: var(--color1);
  margin: 0 0 10px;
  line-height: 1.35;
}

.news-card p {
  font-size: 13.5px;
  color: #555d59;
  margin: 0;
  line-height: 1.6;
}

.social-card-footer {
  padding: 12px 20px 16px;
  border-top: 1px solid var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fdfcfb;
}

.social-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid transparent;
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 12px;
  color: var(--gray);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font4);
}

.social-btn:hover {
  background: var(--color-sand-dark);
  color: var(--color1);
}

.social-btn.liked {
  color: #d13d3d;
  background: rgba(209, 61, 61, 0.08);
}

.social-btn.liked .social-icon {
  content: "❤️";
}

.social-icon {
  font-size: 13px;
}

.btn-more-minimal {
  font-family: var(--font4);
  font-size: 12px;
  color: var(--color1);
  font-weight: 600;
  transition: color 0.2s;
}

.btn-more-minimal:hover {
  color: var(--color2);
}

/* Native Progressive Deferred Section Rendering on Scroll */
.zone:not(.diapo) {
  content-visibility: auto;
  contain-intrinsic-size: auto 450px;
}

/* Progressive Scroll Chunk Loading & Bidirectional Article Fade */
.scroll-fade {
  --reveal-progress: 0;
  opacity: var(--reveal-progress);
  transform: translateY(calc(20px * (1 - var(--reveal-progress))))
    scale(calc(0.985 + 0.015 * var(--reveal-progress)));
  will-change: opacity, transform;
}

.scroll-fade.batch-deferred,
.agenda-card.batch-deferred,
.guestbook-card.batch-deferred {
  display: none !important;
}

.load-more-container {
  display: flex;
  justify-content: center;
  margin-top: 32px;
  width: 100%;
}

.load-more-container.hidden {
  display: none !important;
}

.btn-load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--white);
  color: var(--color1);
  border: 1.5px solid var(--border-color);
  padding: 12px 28px;
  font-family: var(--font5);
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-load-more:hover {
  background: var(--color1);
  color: var(--white);
  border-color: var(--color1);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 60, 53, 0.2);
}

.zone-deferred {
  content-visibility: auto;
  contain-intrinsic-size: 1px 400px;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 2.4s cubic-bezier(0.4, 0, 0.2, 1),
    transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.zone-deferred.zone-loaded {
  opacity: 1;
  transform: translateY(0);
}

/* Page transitions */
main.zones {
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

main.zones.page-exit,
main.zones.page-enter {
  pointer-events: none;
}

main.zones.page-exit {
  opacity: 0;
  transform: translateX(-30px);
}

main.zones.page-enter {
  opacity: 0;
  transform: translateX(30px);
}

@media (prefers-reduced-motion: reduce) {
  main.zones {
    transition: opacity 0.15s ease;
  }

  main.zones.page-exit,
  main.zones.page-enter {
    transform: none;
  }

  .section-panel,
  .section-title,
  .section-subtitle,
  .split-text h2,
  .split-text h3,
  .page-content h1,
  .section-reveal,
  .section-reveal-image {
    --reveal-progress: 1 !important;
    transform: none !important;
  }

  .section-slide {
    --reveal-progress: 1 !important;
    transform: none !important;
  }

  .zone-bg-sand .section-slide img {
    opacity: 0.88 !important;
  }

  .zone-bg-sand-dark .section-slide img {
    opacity: 0.78 !important;
  }

  .zone-bg-white .section-slide img {
    opacity: 0.92 !important;
  }
}

/* Split sections */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-text h3 {
  font-family: var(--font1);
  font-size: 28px;
  color: var(--color1);
  margin: 16px 0;
}

.split-text p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.zone6.texteimage.inverse .split {
  direction: rtl;
}

.zone6.texteimage.inverse .split > * {
  direction: ltr;
}

.mayor-message p {
  margin-bottom: 12px;
}

.mayor-signature {
  margin-top: 24px;
  font-size: 15px;
  color: var(--color1);
}

/* Sentiers & Leaflet map */
.trails-intro {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray);
}

.trails-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}

.trails-map-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.trail-map {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  background: #dce7e4;
  z-index: 0;
}

.trail-map--full {
  min-height: 520px;
  height: 520px;
}

.trail-map--compact {
  min-height: 320px;
  height: 320px;
}

.trail-map-reset-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: flex-start;
  padding: 10px 16px;
  border: 1.5px solid rgba(45, 138, 148, 0.35);
  border-radius: 999px;
  background: rgba(45, 138, 148, 0.08);
  color: var(--color1);
  font-family: var(--font4);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.trail-map-reset-btn:hover {
  background: var(--color2);
  border-color: var(--color2);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(45, 138, 148, 0.22);
}

.trail-map-reset-icon {
  font-size: 16px;
  line-height: 1;
  color: var(--color2);
  transition: color 0.2s ease;
}

.trail-map-reset-btn:hover .trail-map-reset-icon {
  color: var(--white);
}

.trail-selection {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.trail-selection[hidden] {
  display: none !important;
}

.trail-detail {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 2.5vw, 24px);
  box-shadow: var(--card-shadow);
}

.trail-detail[hidden] {
  display: none !important;
}

.trail-detail-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.trail-detail-name {
  margin: 0;
  font-family: var(--font1);
  font-size: clamp(20px, 2.5vw, 24px);
  line-height: 1.25;
  color: var(--color1);
}

.trail-detail .trail-description {
  margin-bottom: 18px;
}

.trail-detail .trail-gallery {
  margin-top: 4px;
}

.trail-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.trail-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray);
  padding: 6px 12px 6px 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font: inherit;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.trail-legend-item:hover {
  background: rgba(26, 60, 53, 0.04);
}

.trail-legend-item.active {
  background: rgba(45, 138, 148, 0.08);
  border-color: rgba(45, 138, 148, 0.25);
  color: var(--color1);
}

.trail-color {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  flex-shrink: 0;
}

.trail-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #6a706d;
}

.trails-list-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(229, 224, 213, 0.95);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 2.5vw, 24px);
  box-shadow: var(--card-shadow);
}

.trails-list-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 16px;
}

.trails-list-header h3 {
  margin: 0;
  font-family: var(--font1);
  font-size: 24px;
  color: var(--color1);
}

.trails-list-hint {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #6a706d;
}

@media screen and (min-width: 1280px) {
  .trails-list-hint {
    display: none;
  }
}

.trails-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trail-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--white);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.trail-card.active {
  border-color: rgba(45, 138, 148, 0.45);
  box-shadow: var(--card-shadow-hover);
}

.trail-card-select {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 16px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.trail-card-select:hover {
  background: rgba(26, 60, 53, 0.03);
}

.trail-card.active .trail-card-select {
  background: rgba(45, 138, 148, 0.06);
}

.trail-card-body {
  flex: 1;
  min-width: 0;
}

.trail-card-name {
  margin: 0 0 10px;
  font-family: var(--font4);
  font-size: 15px;
  line-height: 1.35;
  color: var(--color1);
}

.trail-card .trail-description {
  margin-bottom: 0;
}

.trail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--gray);
}

.trail-difficulty {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 999px;
  font-family: var(--font4);
  font-size: 12px;
}

.trail-difficulty.easy {
  background: rgba(34, 140, 78, 0.14);
  color: #1a6b3c;
}

.trail-difficulty.moderate {
  background: rgba(37, 99, 196, 0.14);
  color: #1e4f8f;
}

.trail-difficulty.hard {
  background: rgba(196, 52, 52, 0.14);
  color: #9b2828;
}

.trail-description {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--gray);
}

.trail-gallery-title {
  margin: 0 0 10px;
  font-family: var(--font4);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color1);
}

.trail-gallery-empty {
  margin: 0;
  padding: 18px;
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: #6a706d;
  background: var(--color-sand);
}

.trail-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
}

.trail-gallery-item {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--color-sand-dark);
}

.trail-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trails-cta {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.trails-practical {
  margin-top: 36px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--color-sand);
  border: 1px solid var(--border-color);
}

.trails-practical h3 {
  margin: 0 0 12px;
  font-family: var(--font1);
  color: var(--color1);
}

.trails-practical ul {
  margin: 0;
  padding-left: 20px;
  line-height: 1.7;
  color: var(--gray);
}

.trail-poi-marker {
  background: transparent;
  border: 0;
}

.trail-poi-marker span {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 2px solid var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.trail-poi-marker--start span {
  background: #2d8a94;
}

.trail-poi-marker--heritage span {
  background: #d3a531;
}

.trail-poi-marker--hamlet span {
  background: #6b4c9a;
}

.zone-trails--compact .trails-layout {
  grid-template-columns: 1fr;
}

.trails-cards--preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.trail-card--preview .trail-card-select {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 12px;
  min-height: 0;
}

.trail-card--preview .trail-card-select > .trail-difficulty {
  padding: 1px 8px;
  font-size: 10px;
}

.trail-card--preview .trail-meta--preview .trail-color {
  align-self: center;
}

.trail-card--preview .trail-card-name {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.3;
}

.trail-card--preview .trail-meta--preview {
  gap: 4px 8px;
  margin-bottom: 0;
  font-size: 11px;
  line-height: 1.35;
}

.trail-card-select > .trail-difficulty {
  flex-shrink: 0;
  align-self: flex-start;
}

.trail-meta .trail-color {
  align-self: center;
}

@media screen and (min-width: 1280px) {
  .trail-card--preview .trail-card-select {
    align-items: center;
    text-align: center;
  }

  .trail-card--preview .trail-card-select > .trail-difficulty {
    align-self: center;
  }

  .trail-card--preview .trail-card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .trail-card--preview .trail-meta--preview {
    justify-content: center;
  }
}

.zone-page--trails .zone-trails {
  margin-top: 0;
  padding-top: 0;
}

.zone-page--trails .zone-trails > .container {
  padding-left: 0;
  padding-right: 0;
}

/* Cards slider (patrimoine) */
.cards-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 10px 0;
}

.cards-track::-webkit-scrollbar {
  display: none;
}

.card-slide {
  flex: 0 0 340px;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s;
}

.card-slide.hidden {
  display: none;
}

.card-slide:hover {
  transform: translateY(-4px);
}

.card-slide-image {
  height: 200px;
}

.card-slide-body {
  padding: 24px;
}

.card-slide h3 {
  font-family: var(--font1);
  font-size: 20px;
  color: var(--color1);
  margin: 0 0 6px;
}

.card-slide h4 {
  font-family: var(--font4);
  font-size: 13px;
  color: var(--color2);
  margin: 0 0 12px;
}

.card-slide p {
  font-size: 14px;
  margin: 0 0 16px;
  line-height: 1.6;
}

/* Agenda */
.agenda-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.agenda-card {
  background: var(--color1);
  color: var(--white);
  padding: 30px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.agenda-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
}

.agenda-dates {
  display: flex;
  gap: 16px;
  font-size: 12px;
  font-family: var(--font4);
  color: var(--color2);
  margin-bottom: 12px;
}

.agenda-card h3 {
  font-family: var(--font1);
  font-size: 22px;
  margin: 0 0 12px;
}

.agenda-card p {
  font-size: 14px;
  margin: 0 0 16px;
  opacity: 0.9;
  line-height: 1.6;
}

.agenda-card .btn-more {
  color: var(--color2);
  border-color: var(--color2);
}

/* Guestbook */
.zone-guestbook {
  padding: var(--ecartZones) 0;
}

.guestbook-intro {
  max-width: 720px;
  font-size: 16px;
  line-height: 1.7;
  color: #555d59;
  margin: 0 0 36px;
}

.guestbook-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.guestbook-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.guestbook-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.guestbook-avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--color1) 0%, #2a564c 100%);
  color: var(--white);
  font-family: var(--font5);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.04em;
}

.guestbook-author {
  flex: 1;
  min-width: 0;
}

.guestbook-author strong {
  display: block;
  font-family: var(--font1);
  font-size: 17px;
  color: var(--color1);
  margin-bottom: 2px;
}

.guestbook-author span {
  display: block;
  font-size: 12.5px;
  color: #6a706d;
}

.guestbook-date {
  flex-shrink: 0;
  font-family: var(--font4);
  font-size: 11px;
  color: var(--color2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.guestbook-visit {
  font-family: var(--font4);
  font-size: 12px;
  color: var(--color2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 16px;
}

.guestbook-message {
  margin: 0;
  flex: 1;
  position: relative;
  padding-left: 18px;
}

.guestbook-message::before {
  content: "“";
  position: absolute;
  left: 0;
  top: -6px;
  font-family: var(--font1);
  font-size: 32px;
  line-height: 1;
  color: rgba(45, 138, 148, 0.45);
}

.guestbook-message p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: #4a524e;
  font-style: italic;
}

.guestbook-cta {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

/* Newsletter */
.zone11.newsletter {
  background: var(--gray-light);
  padding: 60px 0;
}

.newsletter-box {
  text-align: center;
  max-width: 600px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 30px;
}

.newsletter-form input[type="email"] {
  padding: 14px 20px;
  border: 2px solid #ddd;
  border-radius: 4px;
  font-size: 15px;
  font-family: var(--desc-font);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--color1);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.checkbox-label input {
  margin-top: 3px;
  flex-shrink: 0;
}

.btn-primary {
  padding: 14px 32px;
  background: var(--color1);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-family: var(--font5);
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
  text-align: center;
  display: inline-block;
}

.btn-primary:hover {
  background: #0a3a3e;
  color: var(--white);
}

/* Content pages */
.zone-page {
  margin-top: calc(var(--headerHeight) + 40px) !important;
  padding-bottom: 60px;
}

.zone-page.zone-bg-white {
  margin-top: 0 !important;
  padding-top: calc(var(--headerHeight) + 40px);
}

.breadcrumb {
  font-size: 13px;
  margin-bottom: 20px;
  color: var(--gray);
}

.page-content {
  position: relative;
}

.article-nav {
  display: flex;
  align-items: center;
}

.article-nav--top {
  margin-bottom: 18px;
}

.article-nav--bottom {
  margin-top: 36px;
}

.article-back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  background: var(--white);
  color: var(--color1);
  cursor: pointer;
  box-shadow: var(--card-shadow);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.article-back-btn:hover {
  transform: translateX(-2px);
  border-color: rgba(45, 138, 148, 0.35);
  background: rgba(45, 138, 148, 0.08);
  color: var(--color2);
  box-shadow: var(--card-shadow-hover);
}

.article-back-arrow {
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
}

.article-scroll-top {
  position: fixed;
  right: max(20px, var(--padding));
  bottom: 32px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(45, 138, 148, 0.25);
  border-radius: 50%;
  background: var(--color1);
  color: var(--white);
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(26, 60, 53, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    visibility 0.2s ease;
}

.article-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.article-scroll-top:hover {
  background: var(--color2);
  box-shadow: 0 14px 32px rgba(26, 60, 53, 0.22);
}

.article-scroll-top-arrow {
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
}

.page-content h1 {
  font-family: var(--font1);
  font-size: 36px;
  color: var(--color1);
  margin: 0 0 30px;
}

.content-body {
  line-height: 1.8;
}

.content-body h3 {
  font-family: var(--font1);
  color: var(--color1);
  margin: 24px 0 12px;
}

.content-body ul {
  padding-left: 20px;
}

.content-body li {
  margin-bottom: 8px;
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3 {
  font-family: var(--font1);
  color: var(--color1);
  margin-bottom: 16px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font4);
  font-size: 13px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 16px;
  border: 2px solid #ddd;
  border-radius: 4px;
  font-family: var(--desc-font);
  font-size: 15px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color1);
}

.form-note {
  font-size: 13px;
  color: var(--gray);
}

/* Footer */
.footer {
  background: var(--color1);
  color: var(--white);
  margin-top: var(--ecartZones);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding: 60px var(--padding);
  max-width: var(--container-max);
  margin: 0 auto;
}

.footer .logo-village {
  color: var(--white);
}

.footer .logo-title {
  color: rgba(255, 255, 255, 0.7);
}

.footer-desc {
  margin-top: 16px;
  font-size: 14px;
  opacity: 0.85;
  line-height: 1.7;
}

.footer h4 {
  font-family: var(--font5);
  color: var(--color2);
  margin: 0 0 16px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-contact p {
  margin: 0 0 8px;
  font-size: 14px;
}

.footer-contact a {
  color: var(--white);
}

.footer-contact a:hover {
  color: var(--color2);
}

.footer-links-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links-grid a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
}

.footer-links-grid a:hover {
  color: var(--color2);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 20px var(--padding);
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  font-size: 13px;
  opacity: 0.7;
}

.footer-bottom a {
  color: var(--white);
}

/* Mobile */
@media screen and (max-width: 1279px) {
  .feed-panel,
  .section-panel {
    margin-inline: calc(-1 * var(--padding));
    padding: 24px var(--padding);
    border-radius: 0;
    border-inline: none;
    box-shadow:
      0 10px 32px rgba(26, 60, 53, 0.08),
      0 2px 8px rgba(26, 60, 53, 0.04);
  }

  .zone-bg-white .feed-panel,
  .zone-bg-white .section-panel {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
  }

  .services-highlight-btn {
    width: 38px;
    height: 38px;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
  }

  .header nav {
    height: auto;
    overflow: hidden;
    overscroll-behavior: none;
    -webkit-overflow-scrolling: auto;
    padding-bottom: max(16px, env(safe-area-inset-bottom, 0px));
  }

  .nav-wrapper {
    flex: 1;
    min-height: 0;
    overflow: hidden;
  }

  .side-links {
    flex-shrink: 0;
    margin-top: 12px;
    padding-top: 12px;
  }

  .zone1.diapo {
    height: 100dvh;
    min-height: 100dvh;
  }

  .split,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .zone6.texteimage.inverse .split {
    direction: ltr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .slider-btn {
    display: none;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .agenda-grid {
    grid-template-columns: 1fr;
  }

  .trails-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .zone-page--trails .zone-trails {
    margin-inline: calc(-1 * var(--padding));
    width: calc(100% + (2 * var(--padding)));
  }

  .zone-page--trails .zone-trails > .container {
    padding-inline: var(--padding);
  }

  .zone-page--trails .zone-trails.zone-bg-sand {
    padding-block: 40px;
  }

  .zone-trails.zone-bg-sand {
    padding-block: 40px;
  }

  .trail-map--full {
    min-height: 280px;
    height: min(52vh, 380px);
    scroll-margin-top: calc(var(--headerHeight) + 16px);
  }

  .trail-map--compact {
    min-height: 240px;
    height: min(45vh, 320px);
    scroll-margin-top: calc(var(--headerHeight) + 16px);
  }

  .trail-map-reset-btn {
    width: 100%;
  }

  .trail-legend {
    gap: 8px 12px;
  }

  .trail-legend-item {
    font-size: 12px;
  }

  .trails-list-panel {
    padding: 16px;
    border-radius: var(--radius-md);
  }

  .trails-list-header h3 {
    font-size: 22px;
  }

  .trail-card-select {
    min-height: 48px;
  }

  .trail-card--preview .trail-card-select {
    min-height: 0;
    padding: 10px;
  }

  .trail-card-name {
    font-size: 14px;
  }

  .trail-card--preview .trail-card-name {
    font-size: 12px;
  }

  .trail-detail {
    padding: 16px;
  }

  .trails-intro {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .trails-practical {
    margin-top: 24px;
    padding: 18px;
  }
}

@media screen and (max-width: 768px) {
  .diapo-content h1 {
    font-size: 48px;
  }

  .section-title {
    font-size: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
