@charset "UTF-8";

/* ==========================================================================
   Fonts — ES Klarheit Grotesk Mono (fichiers WOFF du dossier /fonts)
   ========================================================================== */
@font-face {
  font-family: 'ES Klarheit Grotesk Mono';
  src: url('../fonts/ESKlarheitGroteskMono-Xlt.woff') format('woff');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'ES Klarheit Grotesk Mono';
  src: url('../fonts/ESKlarheitGroteskMono-XltIt.woff') format('woff');
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'ES Klarheit Grotesk Mono';
  src: url('../fonts/ESKlarheitGroteskMono-Lt.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'ES Klarheit Grotesk Mono';
  src: url('../fonts/ESKlarheitGroteskMono-LtIt.woff') format('woff');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'ES Klarheit Grotesk Mono';
  src: url('../fonts/ESKlarheitGroteskMono-Rg.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'ES Klarheit Grotesk Mono';
  src: url('../fonts/ESKlarheitGroteskMono-It.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'ES Klarheit Grotesk Mono';
  src: url('../fonts/ESKlarheitGroteskMono-Md.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'ES Klarheit Grotesk Mono';
  src: url('../fonts/ESKlarheitGroteskMono-MdIt.woff') format('woff');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'ES Klarheit Grotesk Mono';
  src: url('../fonts/ESKlarheitGroteskMono-Smbd.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'ES Klarheit Grotesk Mono';
  src: url('../fonts/ESKlarheitGroteskMono-SmbdIt.woff') format('woff');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'ES Klarheit Grotesk Mono';
  src: url('../fonts/ESKlarheitGroteskMono-Bd.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'ES Klarheit Grotesk Mono';
  src: url('../fonts/ESKlarheitGroteskMono-BdIt.woff') format('woff');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'ES Klarheit Grotesk Mono';
  src: url('../fonts/ESKlarheitGroteskMono-Xbd.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'ES Klarheit Grotesk Mono';
  src: url('../fonts/ESKlarheitGroteskMono-XbdIt.woff') format('woff');
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'ES Klarheit Grotesk Mono';
  src: url('../fonts/ESKlarheitGroteskMono-Bk.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'ES Klarheit Grotesk Mono';
  src: url('../fonts/ESKlarheitGroteskMono-BkIt.woff') format('woff');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

/* ==========================================================================
   Design tokens (from Figma variables)
   ========================================================================== */
:root {
  --font-main: 'ES Klarheit Grotesk Mono', 'Helvetica Neue', Arial, sans-serif;

  --color-blue: #013263;
  --color-dark: #434343;
  --color-placeholder: #adadad;
  --color-accent: #ffaf00;
  --color-white: #ffffff;
  --color-black: #000000;

  --h1-size: 55px;
  --h2-size: 40px;
  --p-daddy-size: 22px;
  --p-baby-size: 16px;

  --header-height: 90px;
  --gutter: 29px;
  /* Axe droit partagé : burger + points + Book Now */
  --rail-right: 40px;
}

@media (max-width: 768px) {
  :root {
    --h1-size: 26px;
    --h2-size: 22px;
    --p-daddy-size: 16px;
    --p-baby-size: 12px;
    --header-height: 64px;
    --gutter: 16px;
    --rail-right: 16px;
  }
}

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


body {
  font-family: var(--font-main);
  font-weight: 300;
  color: var(--color-black);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

h1 {
  font-weight: 700;
}

/* ==========================================================================
   Text selection
   ========================================================================== */
::selection {
  background: var(--color-accent);
  color: var(--color-white);
}

::-moz-selection {
  background: var(--color-accent);
  color: var(--color-white);
}

/* Fonds jaunes — sélection inversée (bleu + texte jaune) */
.panel--rooms .rooms-nav ::selection,
.book-now ::selection {
  background: var(--color-blue);
  color: var(--color-accent);
}

.panel--rooms .rooms-nav ::-moz-selection,
.book-now ::-moz-selection {
  background: var(--color-blue);
  color: var(--color-accent);
}

/* Onglet chambre actif : fond blanc, on garde la sélection par défaut */
.panel--rooms .rooms-list__item.is-active ::selection,
.panel--rooms .rooms-list__item.is-active ::-moz-selection {
  background: var(--color-accent);
  color: var(--color-white);
}

a {
  color: inherit;
  text-decoration: none;
}

img, iframe, video {
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Scroll-snap — one full panel per scroll, block by block.
   ========================================================================== */
.fullpage {
  height: 100vh;
  /* dvh = hauteur RÉELLEMENT visible sur mobile (barre d'outils du navigateur
     déduite). Corrige le « bien aligné en dev, trop bas une fois publié ». */
  height: 100dvh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
}

.panel {
  height: 100vh;
  height: 100dvh;
  width: 100%;
  position: relative;
  scroll-snap-align: start;
  /* Empêche de sauter une section en un seul geste (utile pour la FAQ). */
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--color-white);
}

/* ==========================================================================
   Scroll progress — barre fine fixe en haut (panels `.fullpage`)
   ========================================================================== */
.scroll-progress {
  --sp-progress: 0;
  --sp-track: rgba(255, 255, 255, 0.22);
  --sp-fill: rgba(255, 255, 255, 0.92);

  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  height: 2px;
  pointer-events: none;
  background: var(--sp-track);
  overflow: hidden;
}

.scroll-progress__fill {
  display: block;
  height: 100%;
  width: calc(var(--sp-progress) * 100%);
  background: var(--sp-fill);
  transform-origin: left center;
  transition: width 0.18s ease-out, background-color 0.35s ease;
}

/* Panel jaune (chambres) : contraste bleu Hine Adon */
.scroll-progress--on-light {
  --sp-track: rgba(1, 50, 99, 0.14);
  --sp-fill: var(--color-blue);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress__fill {
    transition: none;
  }
}

/* ==========================================================================
   Fullpage dots (home) — discrets, alignés au rail droit (desktop)
   ========================================================================== */
.fullpage-dots {
  position: fixed;
  top: 50%;
  right: var(--rail-right);
  z-index: 90;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 44px;
  pointer-events: none;
}

.fullpage-dots__dot {
  pointer-events: auto;
  width: 5px;
  height: 5px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.32);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: background 0.25s ease, transform 0.25s ease;
}

.fullpage-dots__dot.is-active {
  background: rgba(255, 255, 255, 0.78);
  transform: scale(1.15);
}

.fullpage-dots--on-light .fullpage-dots__dot {
  background: rgba(1, 50, 99, 0.28);
}

.fullpage-dots--on-light .fullpage-dots__dot.is-active {
  background: rgba(1, 50, 99, 0.82);
}

@media (max-width: 768px) {
  .fullpage-dots {
    right: 6px;
    width: auto;
    gap: 8px;
  }

  .fullpage-dots__dot {
    width: 3px;
    height: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fullpage-dots__dot {
    transition: none;
  }
}

/* ==========================================================================
   Header (fixed, floats above every panel)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--rail-right) 0 var(--gutter);
  background: none;
  pointer-events: none;
}
.site-header a,
.site-header button {
  pointer-events: auto;
}

.site-header__logo {
  display: flex;
  align-items: center;
}

.site-header__logo img {
  width: 50px;
  height: 25px;
  display: block;
}

@media (max-width: 768px) {
  .site-header__logo img {
    width: 40px;
    height: 20px;
  }
}

/* Panel chambres — couronne du header en blanc (jaune desktop / photo mobile) */
.page--venue.is-rooms-active .site-header__logo img {
  filter: brightness(0) invert(1);
}

/* Panel footer (fond bleu) — couronne du header en blanc */
body.is-footer-active .site-header__logo img {
  filter: brightness(0) invert(1);
}

.site-header__burger {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  padding: 5px;
  cursor: pointer;
}
.site-header__burger span {
  display: block;
  height: 2px;
  width: 34px;
  background: var(--color-white);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

/* ==========================================================================
   Menu overlay (hamburger menu)
   ========================================================================== */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  visibility: hidden;
  pointer-events: none;
}

.menu-overlay.is-open,
.menu-overlay.is-closing {
  visibility: visible;
}

.menu-overlay.is-open {
  pointer-events: auto;
}

.menu-overlay.is-closing {
  pointer-events: none;
}

.menu-overlay__scrim {
  position: absolute;
  inset: 0;
  background: none;
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  opacity: 0;
  transition:
    opacity 0.35s ease,
    backdrop-filter 0.35s ease,
    -webkit-backdrop-filter 0.35s ease;
}

.menu-overlay.is-open .menu-overlay__scrim {
  opacity: 1;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.menu-overlay.is-closing .menu-overlay__scrim {
  transition:
    opacity 0.45s ease-out,
    backdrop-filter 0.5s ease-out,
    -webkit-backdrop-filter 0.5s ease-out;
}

.menu-overlay__close {
  position: absolute;
  top: 9px;
  right: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  color: var(--color-white);
  padding: 6px 8px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

/* Only reveal "Close" once the panel has fully slid into place */
.menu-overlay.is-open .menu-overlay__close {
  opacity: 1;
  transition-delay: 0.35s;
}

.menu-overlay__close-icon {
  width: 18px;
  height: 18px;
  border: 1px solid var(--color-white);
  position: relative;
}
.menu-overlay__close-icon::before,
.menu-overlay__close-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1px;
  background: var(--color-white);
}
.menu-overlay__close-icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.menu-overlay__close-icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.menu-overlay__close-label {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  margin: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.menu-overlay__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 313px;
  z-index: 1;
  background: var(--color-blue);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s ease;
}

.menu-overlay.is-open .menu-overlay__panel {
  transform: translateX(0);
}

.menu-overlay__links {
  display: flex;
  flex-direction: column;
}

.menu-overlay__links a {
  padding: 18px 17px;
  text-align: right;
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 22px;
  color: var(--color-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.menu-overlay__links > a {
  transition: font-weight 0.15s ease;
}

@media (hover: hover) and (pointer: fine) {
  .menu-overlay__links > a:hover,
  .menu-overlay__links > a:focus-visible {
    font-weight: 700;
  }

  .menu-overlay__links > a:hover .footer-link-char,
  .menu-overlay__links > a:focus-visible .footer-link-char {
    font-style: italic;
  }
}

@media (prefers-reduced-motion: reduce) {
  .menu-overlay__links > a {
    transition: none;
  }

  @media (hover: hover) and (pointer: fine) {
    .menu-overlay__links > a:hover,
    .menu-overlay__links > a:focus-visible {
      font-style: italic;
    }
  }
}

.menu-overlay__group {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.menu-overlay__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 18px 17px;
  text-align: right;
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 22px;
  color: var(--color-white);
  background: none;
  border: none;
  cursor: pointer;
  transition: font-weight 0.15s ease;
}

@media (hover: hover) and (pointer: fine) {
  .menu-overlay__toggle:hover,
  .menu-overlay__toggle:focus-visible {
    font-weight: 700;
  }

  .menu-overlay__toggle:hover .footer-link-char,
  .menu-overlay__toggle:focus-visible .footer-link-char {
    font-style: italic;
  }
}

@media (prefers-reduced-motion: reduce) {
  .menu-overlay__toggle {
    transition: none;
  }

  @media (hover: hover) and (pointer: fine) {
    .menu-overlay__toggle:hover,
    .menu-overlay__toggle:focus-visible {
      font-style: italic;
    }
  }
}

.menu-overlay__toggle-icon {
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid var(--color-white);
  border-bottom: 1.5px solid var(--color-white);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  margin-top: -4px;
}

.menu-overlay__group.is-open .menu-overlay__toggle-icon {
  transform: rotate(-135deg);
  margin-top: 2px;
}

.menu-overlay__submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.menu-overlay__submenu a {
  padding: 14px 17px;
  text-align: right;
  font-size: 18px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
  transition:
    font-weight 0.15s ease,
    color 0.15s ease;
}

@media (hover: hover) and (pointer: fine) {
  .menu-overlay__submenu a:hover,
  .menu-overlay__submenu a:focus-visible {
    font-weight: 700;
    color: var(--color-white);
  }

  .menu-overlay__submenu a:hover .footer-link-char,
  .menu-overlay__submenu a:focus-visible .footer-link-char {
    font-style: italic;
  }
}

@media (prefers-reduced-motion: reduce) {
  .menu-overlay__submenu a {
    transition: none;
  }

  @media (hover: hover) and (pointer: fine) {
    .menu-overlay__submenu a:hover,
    .menu-overlay__submenu a:focus-visible {
      font-style: italic;
    }
  }
}

/* Le dernier lien du sous-menu ne porte pas de trait : c'est la bordure de
   .menu-overlay__group qui ferme le bloc. Sans ça les deux se superposent et
   la ligne sous « Avenches » paraît deux fois plus épaisse que les autres. */
.menu-overlay__submenu a:last-child {
  padding-bottom: 18px;
  border-bottom: none;
}

.menu-overlay__lang {
  margin-top: auto;
  margin-bottom: 260px;
  text-align: right;
  padding: 0 21px;
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 22px;
  color: var(--color-white);
}

.menu-overlay__lang a {
  color: inherit;
  font-style: normal;
  font-weight: 500;
}

.menu-overlay__lang a[aria-current="page"] {
  cursor: default;
  font-weight: 700;
}

@media (hover: hover) and (pointer: fine) {
  .menu-overlay__lang a:hover:not([aria-current="page"]),
  .menu-overlay__lang a:focus-visible:not([aria-current="page"]) {
    font-style: italic;
  }
}

@media (max-width: 768px) {
  .menu-overlay__panel {
    width: 78%;
  }
  .menu-overlay__links a {
    font-size: 16px;
    padding: 15px var(--gutter);
  }
  .menu-overlay__toggle {
    font-size: 16px;
    padding: 15px var(--gutter);
  }
  .menu-overlay__submenu {
    gap: 4px;
  }
  .menu-overlay__submenu a {
    font-size: 15px;
    padding: 12px var(--gutter);
  }
  .menu-overlay__submenu a:last-child {
    padding-bottom: 16px;
  }
  .menu-overlay__lang {
    font-size: 16px;
    margin-bottom: 160px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .menu-overlay__panel,
  .menu-overlay__scrim,
  .menu-overlay__close {
    transition: none;
  }
}

/* ==========================================================================
   Hero panel
   ========================================================================== */
.panel--hero {
  background: var(--color-dark);
  justify-content: flex-end;
  padding-bottom: 32px;
}

/* Première image visible tant que la vidéo n'a pas de frame prête. */
.panel--hero__poster {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  margin: 0;
  pointer-events: none;
}

.panel--hero__poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.panel--hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.panel--hero__video.is-ready {
  opacity: 1;
}

/* Dark gradient only behind the text zone, from the very bottom up —
   everything above stays fully clear. */
.panel--hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 42%);
  z-index: 1;
  pointer-events: none;
}

.panel--hero__inner {
  position: relative;
  z-index: 2;
  padding: 0 200px 0 var(--gutter);
  max-width: 1800px;
}

@media (max-width: 768px) {
  .panel--hero__inner {
    padding: 0 90px 0 var(--gutter);
  }
}

.panel--hero h1 {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: var(--h1-size);
  line-height: 1.15;
  color: var(--color-white);
}

@media (max-width: 768px) {
  .panel--hero {
    /* Bas du texte aligné sur le bas du bouton Book Now. */
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  }

  .panel--hero h1 {
    font-size: 28px;
  }
}

/* Book Now — fixed so it stays on top of every panel and the menu overlay */
.book-now {
  position: fixed;
  right: var(--rail-right);
  bottom: 40px;
  z-index: 200;
  width: 106px;
  height: 106px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 24px;
  line-height: 1;
  border: none;
  padding: 0;
  overflow: visible;
}

.book-now__label {
  display: inline-block;
  max-width: 100%;
  font-synthesis: style;
}

@media (hover: hover) and (pointer: fine) {
  .book-now:hover,
  .book-now:focus-visible {
    color: var(--color-white);
    -webkit-text-fill-color: var(--color-white);
  }

  .book-now:hover .footer-link-char,
  .book-now:focus-visible .footer-link-char {
    font-style: italic;
  }
}

@media (max-width: 768px) {
  .book-now {
    width: 52px;
    height: 52px;
    font-size: 12px;
    /* Ancrage bas partagé avec le hero et l'intro (barre système déduite). */
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  }
}

/* ==========================================================================
   Intro panel (full-width video + text overlay)
   ========================================================================== */
.panel--intro {
  background: var(--color-dark);
  justify-content: flex-start;
}

.panel--intro__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Left gradient so text stays readable over the video */
.panel--intro::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.45) 32%,
    rgba(0, 0, 0, 0.12) 55%,
    rgba(0, 0, 0, 0) 72%
  );
  z-index: 1;
  pointer-events: none;
}

.panel--intro__inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: flex-start;
  height: 100%;
  padding: 0 var(--gutter) 40px;
  max-width: 560px;
}

.panel--intro__text {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 24px;
  height: 100%;
  color: var(--color-white);
}

.panel--intro__lead {
  font-style: italic;
  font-weight: 500;
  font-size: calc(var(--p-baby-size) + 2px);
}

.panel--intro__body {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  padding-top: calc(var(--header-height) + 24px);
  font-weight: 700;
  font-size: var(--p-daddy-size);
  line-height: 1.4;
}

@media (max-width: 768px) {
  /* Texte poussé vers le bas du panneau (aligné au bouton Book Now). */
  .panel--intro {
    justify-content: flex-end;
  }

  /* Pas de scrim plein panneau : dégradé localisé sous le bloc texte uniquement */
  .panel--intro::after {
    background: transparent;
  }

  .panel--intro__inner {
    max-width: none;
    flex: 0 0 auto;
    height: auto;
    align-items: flex-end;
    padding-top: 0;
    /* Bas du texte aligné sur le bas du bouton Book Now. */
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  }

  /* Dégradé localisé sous le bloc texte, en fondu vers le HAUT (l'image reste
     claire au-dessus). */
  .panel--intro__inner::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    /* Monte plus haut que le bloc texte (>100%) pour que même les premières
       lignes restent bien lisibles, avec un fondu doux vers l'image claire. */
    height: 165%;
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.8) 0%,
      rgba(0, 0, 0, 0.74) 34%,
      rgba(0, 0, 0, 0.58) 55%,
      rgba(0, 0, 0, 0.28) 78%,
      rgba(0, 0, 0, 0) 100%
    );
    -webkit-mask-image: linear-gradient(to top, #000 0%, #000 80%, transparent 100%);
    mask-image: linear-gradient(to top, #000 0%, #000 80%, transparent 100%);
    z-index: 0;
    pointer-events: none;
  }

  /* Les deux paragraphes se suivent, ancrés en bas du panneau. */
  .panel--intro__text {
    position: relative;
    z-index: 1;
    gap: 16px;
    grid-template-rows: auto auto;
    align-content: end;
    height: auto;
  }

  .panel--intro__body {
    padding-top: 0;
    align-self: start;
    justify-content: flex-start;
  }

  /* Le paragraphe italique est au ras du bas : on réserve la place du bouton
     Book Now (52px + marge) pour qu'il ne passe pas dessous. */
  .panel--intro__lead {
    padding-right: 68px;
  }
}

/* ==========================================================================
   Locations panel
   ========================================================================== */
.panel--locations h2.section-title {
  position: absolute;
  top: calc(var(--header-height) + 20px);
  left: var(--gutter);
  z-index: 2;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: var(--h1-size);
  color: var(--color-white);
}

.locations-grid {
  flex: 1;
  display: flex;
}

.location-card {
  flex: 1;
  position: relative;
  overflow: hidden;
  background-color: var(--color-placeholder);
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px var(--gutter);
}

.location-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.2) 24%, rgba(0, 0, 0, 0) 54%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
  pointer-events: none;
}

.location-card__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
  pointer-events: none;
}

.location-card__video.is-active {
  opacity: 1;
}
.location-card--city {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.6) 100%), url('../images/locations/hine-adon-fribourg-city-2.jpg');
}
.location-card--nord {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.6) 100%), url('../images/locations/hine-adon-granges-paccots-2.jpg');
}
.location-card--avenches {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.6) 100%), url('../images/locations/hine-adon-avenches-2.jpg');
}

@media (max-width: 768px) {
  .location-card--city {
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.6) 100%), url('../images/locations/hine-adon-fribourg-city-2.jpg');
  }
  .location-card--nord {
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.6) 100%), url('../images/locations/hine-adon-granges-paccots-2.jpg');
  }
  .location-card--avenches {
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.6) 100%), url('../images/locations/hine-adon-avenches-2.jpg');
  }
}

.location-card h3 {
  position: relative;
  z-index: 1;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: var(--h2-size);
  color: var(--color-white);
  margin-bottom: 16px;
  transition: font-weight 0.15s ease;
}

@media (hover: hover) and (pointer: fine) {
  .location-card:hover h3,
  .location-card:focus-within h3 {
    font-weight: 700;
  }
}

@media (prefers-reduced-motion: reduce) {
  .location-card h3 {
    transition: none;
  }
}

.location-card__cta {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 6px;
  background: var(--color-white);
  border: 1px solid var(--color-black);
  box-shadow: 2px 2px 0 var(--color-accent);
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--color-black);
}

@media (hover: hover) and (pointer: fine) {
  .location-card__cta:hover,
  .location-card__cta:focus-visible {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-white);
    box-shadow: 2px 2px 0 var(--color-black);
  }
}

@media (hover: hover) and (pointer: fine) and (min-width: 769px) {
  .location-card:hover::after,
  .location-card:focus-within::after {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .panel--locations h2.section-title {
    display: none;
  }
  .locations-grid {
    flex-direction: column;
    overflow-y: auto;
  }
  .location-card {
    min-height: 33%;
    justify-content: space-between;
  }
  .location-card:first-child {
    padding-top: calc(var(--header-height) + 20px);
  }
  .location-card h3 {
    font-size: var(--h1-size);
    font-weight: 500;
  }
  .location-card__cta {
    height: 22px;
    padding: 0 10px;
    font-size: 11px;
    box-shadow: 1px 1px 0 var(--color-accent);
  }
}

/* ==========================================================================
   Amenities panel
   ========================================================================== */
.panel--amenities {
  background: var(--color-placeholder);
}

.panel--amenities:not(.panel--amenities--alt) > .section-title,
.panel--amenities:not(.panel--amenities--alt) > .panel--amenities__footer,
.panel--amenities:not(.panel--amenities--alt) > .amenities-grid {
  z-index: 2;
}

.amenities-videos {
  position: absolute;
  inset: 0;
  z-index: 0;
  isolation: isolate;
  background: var(--color-placeholder);
}

.amenities-videos::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  background: rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.amenities-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.amenities-video.is-leaving {
  z-index: 1;
  opacity: 1;
  transition: none;
}

.amenities-video.is-active {
  z-index: 2;
  opacity: 1;
}

.panel--amenities h2.section-title {
  position: absolute;
  top: calc(var(--header-height) + 20px);
  left: var(--gutter);
  font-family: var(--font-main);
  font-weight: 500;
  font-size: var(--h1-size);
  color: var(--color-white);
}

.panel--amenities__footer {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 40px;
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px 28px;
  z-index: 2;
}

.panel--amenities__intro {
  font-weight: 300;
  font-size: var(--p-daddy-size);
  color: var(--color-white);
  max-width: 380px;
}

.panel--amenities--alt > .panel--amenities__intro {
  position: absolute;
  left: var(--gutter);
  bottom: 40px;
}

.amenities-list-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 10px;
  background: var(--color-white);
  border: 1px solid var(--color-black);
  box-shadow: 2px 2px 0 var(--color-accent);
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--color-black);
  cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
  .amenities-list-btn:hover,
  .amenities-list-btn:focus-visible {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-white);
    box-shadow: 2px 2px 0 var(--color-black);
  }
}

.amenities-grid {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 40px;
}

.amenities-grid--carousel {
  width: min(920px, calc(100% - 2 * var(--gutter)));
  height: clamp(48px, 6vw, 72px);
  display: block;
}

.amenities-grid--carousel .amenity {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: none;
  white-space: nowrap;
}

.amenities-grid--carousel .amenity.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.amenity {
  display: flex;
  align-items: center;
  gap: 10px;
  font-style: italic;
  font-weight: 200;
  font-size: var(--p-baby-size);
  color: var(--color-white);
}

.amenity__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.amenity__icon svg,
.amenity__icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.amenity__icon svg {
  fill: none;
  stroke: var(--color-white);
  stroke-width: 1.5;
}

/* Première section équipements : item carrousel plus grand. */
.panel--amenities:not(.panel--amenities--alt) .amenities-grid--carousel .amenity {
  gap: 16px;
  font-size: clamp(22px, 2.6vw, 40px);
  font-weight: 300;
  line-height: 1.2;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.panel--amenities:not(.panel--amenities--alt) .amenities-grid--carousel .amenity__icon {
  width: clamp(28px, 3vw, 44px);
  height: clamp(28px, 3vw, 44px);
}

@media (max-width: 768px) {
  .panel--amenities__footer {
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .amenities-list-btn {
    height: 28px;
    padding: 0 8px;
    font-size: 12px;
    box-shadow: 1px 1px 0 var(--color-accent);
  }

  .panel--amenities:not(.panel--amenities--alt) .amenities-grid--carousel .amenity {
    font-size: 18px;
    gap: 12px;
    white-space: normal;
    text-align: center;
    justify-content: center;
    max-width: calc(100vw - 2 * var(--gutter));
  }

  .panel--amenities:not(.panel--amenities--alt) .amenities-grid--carousel .amenity__icon {
    width: 26px;
    height: 26px;
  }
}

/* Popup liste des équipements — se déploie depuis le bouton (bas-gauche) */
body.amenities-popup-open {
  overflow: hidden;
}

.amenities-popup {
  position: fixed;
  inset: 0;
  z-index: 5000;
  visibility: hidden;
  pointer-events: none;
}

.amenities-popup.is-open,
.amenities-popup.is-closing {
  visibility: visible;
}

.amenities-popup.is-open {
  pointer-events: auto;
}

.amenities-popup.is-closing {
  pointer-events: none;
}

.amenities-popup__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.amenities-popup.is-open .amenities-popup__scrim {
  opacity: 1;
}

.amenities-popup__panel {
  position: fixed;
  left: var(--amenities-popup-left, var(--gutter));
  bottom: var(--amenities-popup-bottom, 40px);
  z-index: 1;
  width: var(--amenities-popup-max-width, min(560px, 100%));
  max-width: var(--amenities-popup-max-width, 560px);
  max-height: var(--amenities-popup-max-height, min(80vh, 640px));
  overflow: auto;
  padding: 28px 24px 24px;
  background: var(--color-white);
  border: 1px solid var(--color-black);
  box-shadow: 4px 4px 0 var(--color-accent);
  transform-origin: bottom left;
  transform: scale(0);
  opacity: 0;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.25s ease;
}

.amenities-popup.is-open .amenities-popup__panel {
  transform: scale(1);
  opacity: 1;
}

.amenities-popup.is-closing .amenities-popup__scrim {
  opacity: 0;
}

.amenities-popup.is-closing .amenities-popup__panel {
  transform: scale(0);
  opacity: 0;
  transition:
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.22s ease 0.04s;
}

.amenities-popup__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.amenities-popup__close-icon {
  position: relative;
  width: 16px;
  height: 16px;
  display: block;
}

.amenities-popup__close-icon::before,
.amenities-popup__close-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 1.5px;
  background: var(--color-black);
}

.amenities-popup__close-icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.amenities-popup__close-icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.amenities-popup__title {
  margin: 0 36px 12px 0;
  font-family: var(--font-main);
  font-weight: 500;
  font-size: clamp(22px, 3vw, 28px);
  color: var(--color-black);
}

.amenities-popup__intro {
  margin: 0 0 20px;
  font-weight: 300;
  font-size: var(--p-baby-size);
  line-height: 1.4;
  color: var(--color-dark);
  max-width: 36em;
}

.amenities-popup__grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.amenities-popup__grid .amenity {
  color: var(--color-black);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 300;
  font-style: italic;
  gap: 12px;
}

.amenities-popup__grid .amenity__icon {
  width: 24px;
  height: 24px;
}

.amenities-popup__grid .amenity__icon img {
  filter: brightness(0);
}

.amenities-popup__grid .amenity__icon svg {
  stroke: var(--color-black);
}

@media (max-width: 768px) {
  .amenities-popup__panel {
    padding: 24px 18px 20px;
    box-shadow: 2px 2px 0 var(--color-accent);
  }

  .amenities-popup__grid .amenity {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .amenities-video,
  .amenities-grid--carousel .amenity,
  .amenities-popup__scrim,
  .amenities-popup__panel {
    transition: none;
  }
}

.panel--amenities--alt {
  background: var(--color-blue);
  isolation: isolate;
  overflow: hidden;
}

.panel--amenities--alt__shapes,
.panel--amenities--alt__shapes::before,
.panel--amenities--alt__shapes::after,
.panel--amenities--alt::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.panel--amenities--alt__shapes,
.panel--amenities--alt__shapes::before,
.panel--amenities--alt__shapes::after {
  inset: -60px;
  will-change: transform;
}

.panel--amenities--alt__shapes {
  z-index: 0;
  background:
    radial-gradient(
      circle clamp(160px, 40vw, 360px) at calc(100% + 24px) -28px,
      var(--color-accent) 0 98%,
      transparent 100%
    ),
    radial-gradient(
      circle clamp(110px, 28vw, 220px) at -48px calc(100% - 64px),
      color-mix(in srgb, var(--color-accent) 88%, transparent) 0 98%,
      transparent 100%
    ),
    radial-gradient(
      circle clamp(70px, 16vw, 120px) at -18px 42%,
      color-mix(in srgb, var(--color-accent) 72%, transparent) 0 98%,
      transparent 100%
    ),
    radial-gradient(
      circle clamp(90px, 20vw, 160px) at 94% 52%,
      color-mix(in srgb, var(--color-blue) 55%, white) 0 100%,
      transparent 100%
    ),
    radial-gradient(
      circle clamp(50px, 12vw, 88px) at 12% 14%,
      color-mix(in srgb, var(--color-blue) 50%, white) 0 100%,
      transparent 100%
    ),
    radial-gradient(
      circle 20px at 22% 68%,
      var(--color-accent) 0 100%,
      transparent 100%
    ),
    radial-gradient(
      circle 14px at 78% 22%,
      color-mix(in srgb, var(--color-accent) 80%, transparent) 0 100%,
      transparent 100%
    ),
    linear-gradient(
      125deg,
      transparent 16%,
      color-mix(in srgb, var(--color-blue) 55%, white) 16%,
      color-mix(in srgb, var(--color-blue) 55%, white) 29%,
      transparent 29%
    ),
    linear-gradient(
      -38deg,
      transparent 62%,
      color-mix(in srgb, var(--color-blue) 42%, white) 62%,
      color-mix(in srgb, var(--color-blue) 42%, white) 71%,
      transparent 71%
    ),
    linear-gradient(
      158deg,
      transparent 41%,
      color-mix(in srgb, var(--color-accent) 55%, transparent) 41%,
      color-mix(in srgb, var(--color-accent) 55%, transparent) 42.2%,
      transparent 42.2%
    ),
    linear-gradient(
      color-mix(in srgb, var(--color-blue) 40%, white),
      color-mix(in srgb, var(--color-blue) 40%, white)
    ),
    linear-gradient(var(--color-accent), var(--color-accent));
  background-size:
    auto, auto, auto, auto, auto, auto, auto, auto, auto, auto,
    72px 52px,
    72px 52px;
  background-position:
    0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0,
    16% 84%,
    calc(16% + 3px) calc(84% + 3px);
  background-repeat: no-repeat;
  animation: faq-shapes-drift 24s ease-in-out infinite;
  transform-origin: center center;
}

.panel--amenities--alt__shapes::before {
  z-index: 0;
  background:
    radial-gradient(
      ellipse clamp(140px, 34vw, 280px) clamp(70px, 17vw, 140px) at 50% calc(100% + 20px),
      color-mix(in srgb, var(--color-accent) 45%, transparent) 0 100%,
      transparent 100%
    ),
    radial-gradient(
      circle clamp(80px, 18vw, 140px) at calc(100% - 32px) calc(100% + 24px),
      color-mix(in srgb, var(--color-accent) 65%, transparent) 0 98%,
      transparent 100%
    ),
    radial-gradient(
      ellipse 120px 48px at 38% 28%,
      color-mix(in srgb, var(--color-blue) 45%, white) 0 100%,
      transparent 100%
    ),
    linear-gradient(
      72deg,
      transparent 52%,
      color-mix(in srgb, var(--color-accent) 22%, transparent) 52%,
      color-mix(in srgb, var(--color-accent) 22%, transparent) 56%,
      transparent 56%
    ),
    linear-gradient(
      18deg,
      transparent 78%,
      color-mix(in srgb, var(--color-blue) 50%, white) 78%,
      color-mix(in srgb, var(--color-blue) 50%, white) 81%,
      transparent 81%
    ),
    linear-gradient(
      color-mix(in srgb, var(--color-white) 14%, transparent),
      color-mix(in srgb, var(--color-white) 14%, transparent)
    ),
    linear-gradient(
      color-mix(in srgb, var(--color-accent) 70%, transparent),
      color-mix(in srgb, var(--color-accent) 70%, transparent)
    ),
    linear-gradient(
      color-mix(in srgb, var(--color-blue) 50%, white),
      color-mix(in srgb, var(--color-blue) 50%, white)
    );
  background-size:
    auto, auto, auto, auto, auto,
    96px 64px,
    96px 64px,
    36px 36px;
  background-position:
    0 0, 0 0, 0 0, 0 0, 0 0,
    68% 38%,
    calc(68% + 3px) calc(38% + 3px),
    6% 52%;
  background-repeat: no-repeat;
  animation: faq-shapes-float 20s ease-in-out infinite;
  transform-origin: 40% 60%;
}

.panel--amenities--alt__shapes::after {
  z-index: 0;
  background:
    radial-gradient(
      circle clamp(44px, 10vw, 72px) at 86% 18%,
      transparent 58%,
      color-mix(in srgb, var(--color-white) 28%, transparent) 58% 72%,
      transparent 72%
    ),
    radial-gradient(
      circle 56px at 28% 92%,
      transparent 55%,
      color-mix(in srgb, var(--color-accent) 40%, transparent) 55% 70%,
      transparent 70%
    ),
    linear-gradient(
      45deg,
      transparent 47%,
      color-mix(in srgb, var(--color-white) 12%, transparent) 47%,
      color-mix(in srgb, var(--color-white) 12%, transparent) 47.8%,
      transparent 47.8%
    ),
    linear-gradient(
      -45deg,
      transparent 63%,
      color-mix(in srgb, var(--color-accent) 18%, transparent) 63%,
      color-mix(in srgb, var(--color-accent) 18%, transparent) 63.8%,
      transparent 63.8%
    ),
    linear-gradient(var(--color-accent), var(--color-accent)),
    linear-gradient(
      color-mix(in srgb, var(--color-blue) 45%, white),
      color-mix(in srgb, var(--color-blue) 45%, white)
    ),
    linear-gradient(
      color-mix(in srgb, var(--color-white) 20%, transparent),
      color-mix(in srgb, var(--color-white) 20%, transparent)
    );
  background-size:
    auto, auto, auto, auto,
    28px 20px,
    40px 28px,
    22px 16px;
  background-position:
    0 0, 0 0, 0 0, 0 0,
    44% 18%,
    52% 24%,
    48% 32%;
  background-repeat: no-repeat;
  animation: faq-shapes-pulse 18s ease-in-out infinite;
  transform-origin: 70% 30%;
}

.panel--amenities--alt::after {
  z-index: 1;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
}

.panel--amenities--alt > .section-title,
.panel--amenities--alt > .panel--amenities__intro,
.panel--amenities--alt > .amenities-grid {
  z-index: 2;
}

.panel--amenities--alt .amenities-grid {
  max-width: min(920px, calc(100% - 2 * var(--gutter)));
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 28px;
}

.panel--amenities--alt .amenity {
  gap: 16px;
  font-size: clamp(22px, 2.6vw, 40px);
  font-weight: 300;
  line-height: 1.2;
}

.panel--amenities--alt .amenity__icon {
  width: clamp(28px, 3vw, 44px);
  height: clamp(28px, 3vw, 44px);
}

@media (max-width: 768px) {
  .panel--amenities--alt .amenities-grid {
    top: 54%;
    gap: 18px;
    max-width: calc(100% - 2 * var(--gutter));
  }

  .panel--amenities--alt .amenity {
    font-size: 18px;
    gap: 12px;
  }

  .panel--amenities--alt .amenity__icon {
    width: 26px;
    height: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .panel--amenities--alt__shapes,
  .panel--amenities--alt__shapes::before,
  .panel--amenities--alt__shapes::after {
    animation: none;
  }
}

/* ==========================================================================
   FAQ panel
   ========================================================================== */
.panel--faq {
  background: var(--color-blue);
  padding: calc(var(--header-height) + 20px) 0 40px;
  justify-content: flex-start;
  isolation: isolate;
  overflow: hidden;
}

/* Decorative geometry + grain (behind scrollable content) */
.panel--faq__shapes,
.panel--faq__shapes::before,
.panel--faq__shapes::after,
.panel--faq::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Même débordement que le footer : les couches animées ne doivent jamais
   laisser un bord nu en se déplaçant. */
.panel--faq__shapes,
.panel--faq__shapes::before,
.panel--faq__shapes::after {
  inset: -60px;
  will-change: transform;
}

.panel--faq__shapes {
  z-index: 0;
  background:
  /* top gray transition */
    linear-gradient(
      to bottom,
      color-mix(in srgb, var(--color-placeholder) 12%, var(--color-blue)) 0%,
      transparent 10%
    ),
  /* large yellow arc — top right */
    radial-gradient(
      circle clamp(160px, 40vw, 360px) at calc(100% + 24px) -28px,
      var(--color-accent) 0 98%,
      transparent 100%
    ),
  /* medium yellow arc — bottom left */
    radial-gradient(
      circle clamp(110px, 28vw, 220px) at -48px calc(100% - 64px),
      color-mix(in srgb, var(--color-accent) 88%, transparent) 0 98%,
      transparent 100%
    ),
  /* yellow quarter-circle — mid left */
    radial-gradient(
      circle clamp(70px, 16vw, 120px) at -18px 42%,
      color-mix(in srgb, var(--color-accent) 72%, transparent) 0 98%,
      transparent 100%
    ),
  /* light blue circle — center right */
    radial-gradient(
      circle clamp(90px, 20vw, 160px) at 94% 52%,
      color-mix(in srgb, var(--color-blue) 36%, white) 0 100%,
      transparent 100%
    ),
  /* light blue circle — top left */
    radial-gradient(
      circle clamp(50px, 12vw, 88px) at 12% 14%,
      color-mix(in srgb, var(--color-blue) 40%, white) 0 100%,
      transparent 100%
    ),
  /* small yellow dot */
    radial-gradient(
      circle 20px at 22% 68%,
      var(--color-accent) 0 100%,
      transparent 100%
    ),
  /* small yellow dot */
    radial-gradient(
      circle 14px at 78% 22%,
      color-mix(in srgb, var(--color-accent) 80%, transparent) 0 100%,
      transparent 100%
    ),
  /* small light blue dot */
    radial-gradient(
      circle 12px at 58% 78%,
      color-mix(in srgb, var(--color-blue) 30%, white) 0 100%,
      transparent 100%
    ),
  /* main diagonal light blue band */
    linear-gradient(
      125deg,
      transparent 16%,
      color-mix(in srgb, var(--color-blue) 42%, white) 16%,
      color-mix(in srgb, var(--color-blue) 42%, white) 29%,
      transparent 29%
    ),
  /* secondary diagonal blue band */
    linear-gradient(
      -38deg,
      transparent 62%,
      color-mix(in srgb, var(--color-blue) 32%, white) 62%,
      color-mix(in srgb, var(--color-blue) 32%, white) 71%,
      transparent 71%
    ),
  /* thin yellow accent stripe */
    linear-gradient(
      158deg,
      transparent 41%,
      color-mix(in srgb, var(--color-accent) 55%, transparent) 41%,
      color-mix(in srgb, var(--color-accent) 55%, transparent) 42.2%,
      transparent 42.2%
    ),
  /* offset rectangle — light fill */
    linear-gradient(
      color-mix(in srgb, var(--color-blue) 28%, white),
      color-mix(in srgb, var(--color-blue) 28%, white)
    ),
  /* offset rectangle — yellow shadow */
    linear-gradient(var(--color-accent), var(--color-accent));
  background-size:
    auto,
    auto,
    auto,
    auto,
    auto,
    auto,
    auto,
    auto,
    auto,
    auto,
    auto,
    auto,
    72px 52px,
    72px 52px;
  background-position:
    0 0,
    0 0,
    0 0,
    0 0,
    0 0,
    0 0,
    0 0,
    0 0,
    0 0,
    0 0,
    0 0,
    0 0,
    16% 84%,
    calc(16% + 3px) calc(84% + 3px);
  background-repeat: no-repeat;
  animation: faq-shapes-drift 24s ease-in-out infinite;
  transform-origin: center center;
}

.panel--faq__shapes::before {
  z-index: 0;
  background:
  /* yellow semicircle — bottom center */
    radial-gradient(
      ellipse clamp(140px, 34vw, 280px) clamp(70px, 17vw, 140px) at 50% calc(100% + 20px),
      color-mix(in srgb, var(--color-accent) 45%, transparent) 0 100%,
      transparent 100%
    ),
  /* yellow arc — bottom right */
    radial-gradient(
      circle clamp(80px, 18vw, 140px) at calc(100% - 32px) calc(100% + 24px),
      color-mix(in srgb, var(--color-accent) 65%, transparent) 0 98%,
      transparent 100%
    ),
  /* light blue pill — upper middle */
    radial-gradient(
      ellipse 120px 48px at 38% 28%,
      color-mix(in srgb, var(--color-blue) 34%, white) 0 100%,
      transparent 100%
    ),
  /* diagonal yellow band */
    linear-gradient(
      72deg,
      transparent 52%,
      color-mix(in srgb, var(--color-accent) 22%, transparent) 52%,
      color-mix(in srgb, var(--color-accent) 22%, transparent) 56%,
      transparent 56%
    ),
  /* steep light blue stripe */
    linear-gradient(
      18deg,
      transparent 78%,
      color-mix(in srgb, var(--color-blue) 38%, white) 78%,
      color-mix(in srgb, var(--color-blue) 38%, white) 81%,
      transparent 81%
    ),
  /* white translucent rectangle */
    linear-gradient(
      color-mix(in srgb, var(--color-white) 14%, transparent),
      color-mix(in srgb, var(--color-white) 14%, transparent)
    ),
  /* yellow offset shadow for white rectangle */
    linear-gradient(
      color-mix(in srgb, var(--color-accent) 70%, transparent),
      color-mix(in srgb, var(--color-accent) 70%, transparent)
    ),
  /* small blue square */
    linear-gradient(
      color-mix(in srgb, var(--color-blue) 50%, white),
      color-mix(in srgb, var(--color-blue) 50%, white)
    );
  background-size:
    auto,
    auto,
    auto,
    auto,
    auto,
    96px 64px,
    96px 64px,
    36px 36px;
  background-position:
    0 0,
    0 0,
    0 0,
    0 0,
    0 0,
    68% 38%,
    calc(68% + 3px) calc(38% + 3px),
    6% 52%;
  background-repeat: no-repeat;
  animation: faq-shapes-float 20s ease-in-out infinite;
  transform-origin: 40% 60%;
}

.panel--faq__shapes::after {
  z-index: 0;
  background:
  /* ring — hollow circle top area */
    radial-gradient(
      circle clamp(44px, 10vw, 72px) at 86% 18%,
      transparent 58%,
      color-mix(in srgb, var(--color-white) 28%, transparent) 58% 72%,
      transparent 72%
    ),
  /* ring — hollow circle lower left */
    radial-gradient(
      circle 56px at 28% 92%,
      transparent 55%,
      color-mix(in srgb, var(--color-accent) 40%, transparent) 55% 70%,
      transparent 70%
    ),
  /* cross stripe pair */
    linear-gradient(
      45deg,
      transparent 47%,
      color-mix(in srgb, var(--color-white) 12%, transparent) 47%,
      color-mix(in srgb, var(--color-white) 12%, transparent) 47.8%,
      transparent 47.8%
    ),
    linear-gradient(
      -45deg,
      transparent 63%,
      color-mix(in srgb, var(--color-accent) 18%, transparent) 63%,
      color-mix(in srgb, var(--color-accent) 18%, transparent) 63.8%,
      transparent 63.8%
    ),
  /* stacked mini rectangles — editorial cluster */
    linear-gradient(var(--color-accent), var(--color-accent)),
    linear-gradient(
      color-mix(in srgb, var(--color-blue) 45%, white),
      color-mix(in srgb, var(--color-blue) 45%, white)
    ),
    linear-gradient(
      color-mix(in srgb, var(--color-white) 20%, transparent),
      color-mix(in srgb, var(--color-white) 20%, transparent)
    );
  background-size:
    auto,
    auto,
    auto,
    auto,
    28px 20px,
    40px 28px,
    22px 16px;
  background-position:
    0 0,
    0 0,
    0 0,
    0 0,
    44% 18%,
    52% 24%,
    48% 32%;
  background-repeat: no-repeat;
  animation: faq-shapes-pulse 18s ease-in-out infinite;
  transform-origin: 70% 30%;
}

@keyframes faq-shapes-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  33% {
    transform: translate3d(14px, -11px, 0) scale(1.052);
  }

  66% {
    transform: translate3d(-9px, 7px, 0) scale(1.044);
  }
}

@keyframes faq-shapes-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }

  40% {
    transform: translate3d(-12px, 15px, 0) rotate(-1.2deg) scale(1.062);
  }

  75% {
    transform: translate3d(8px, -6px, 0) rotate(0.6deg) scale(1.048);
  }
}

@keyframes faq-shapes-pulse {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
  }

  50% {
    transform: translate3d(10px, 9px, 0) scale(1.056);
    opacity: 0.9;
  }
}

@media (prefers-reduced-motion: reduce) {
  .panel--faq__shapes,
  .panel--faq__shapes::before,
  .panel--faq__shapes::after {
    animation: none;
  }
}

.panel--faq::after {
  z-index: 1;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
}

.panel--faq > *:not(.panel--faq__shapes) {
  position: relative;
  z-index: 2;
}

.panel--faq h2.section-title {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: var(--h1-size);
  color: var(--color-white);
  padding: 0 var(--gutter);
  margin-bottom: 24px;
}

.faq-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--color-white);
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px var(--gutter);
  font-family: var(--font-main);
  font-weight: 400;
  font-size: var(--p-daddy-size);
  color: var(--color-blue);
  text-align: left;
  border: none;
  appearance: none;
  -webkit-appearance: none;
}

.faq-item__question::before {
  content: '';
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--color-blue);
  border-bottom: 2px solid var(--color-blue);
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item.is-open .faq-item__question::before {
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  color: var(--color-blue);
  font-size: var(--p-baby-size);
}

/* Dim the other questions while one is open, to keep focus on it */
.faq-list.has-open .faq-item:not(.is-open) {
  opacity: 0.35;
  filter: brightness(0.7);
  transition: opacity 0.25s ease, filter 0.25s ease;
}
.faq-item {
  transition: opacity 0.25s ease, filter 0.25s ease;
}

.faq-item__answer p {
  max-width: 640px;
  padding: 0 var(--gutter) 16px calc(var(--gutter) + 25px);
}

@media (max-width: 768px) {
  /* FAQ : panneau plein écran net (comme les autres sections), la liste de
     questions défile à l'intérieur. */
  .panel--faq {
    padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px));
  }

  .faq-list {
    -webkit-overflow-scrolling: touch;
  }

  /* Questions resserrées : autant de hauteur gagnée que de questions affichées. */
  .faq-item__question {
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 13px;
  }

  .panel--faq__shapes {
    background:
      linear-gradient(
        to bottom,
        color-mix(in srgb, var(--color-placeholder) 12%, var(--color-blue)) 0%,
        transparent 8%
      ),
      radial-gradient(
        circle clamp(120px, 52vw, 220px) at calc(100% + 16px) -20px,
        var(--color-accent) 0 98%,
        transparent 100%
      ),
      radial-gradient(
        circle clamp(80px, 36vw, 150px) at -36px calc(100% - 48px),
        color-mix(in srgb, var(--color-accent) 88%, transparent) 0 98%,
        transparent 100%
      ),
      radial-gradient(
        circle clamp(52px, 22vw, 88px) at -14px 38%,
        color-mix(in srgb, var(--color-accent) 72%, transparent) 0 98%,
        transparent 100%
      ),
      radial-gradient(
        circle clamp(64px, 28vw, 110px) at 96% 56%,
        color-mix(in srgb, var(--color-blue) 36%, white) 0 100%,
        transparent 100%
      ),
      radial-gradient(
        circle 40px at 10% 12%,
        color-mix(in srgb, var(--color-blue) 40%, white) 0 100%,
        transparent 100%
      ),
      radial-gradient(
        circle 14px at 20% 72%,
        var(--color-accent) 0 100%,
        transparent 100%
      ),
      radial-gradient(
        circle 10px at 82% 20%,
        color-mix(in srgb, var(--color-accent) 80%, transparent) 0 100%,
        transparent 100%
      ),
      linear-gradient(
        120deg,
        transparent 8%,
        color-mix(in srgb, var(--color-blue) 42%, white) 8%,
        color-mix(in srgb, var(--color-blue) 42%, white) 22%,
        transparent 22%
      ),
      linear-gradient(
        -42deg,
        transparent 58%,
        color-mix(in srgb, var(--color-blue) 32%, white) 58%,
        color-mix(in srgb, var(--color-blue) 32%, white) 68%,
        transparent 68%
      ),
      linear-gradient(
        152deg,
        transparent 36%,
        color-mix(in srgb, var(--color-accent) 55%, transparent) 36%,
        color-mix(in srgb, var(--color-accent) 55%, transparent) 37.5%,
        transparent 37.5%
      ),
      linear-gradient(
        color-mix(in srgb, var(--color-blue) 28%, white),
        color-mix(in srgb, var(--color-blue) 28%, white)
      ),
      linear-gradient(var(--color-accent), var(--color-accent));
    background-size:
      auto,
      auto,
      auto,
      auto,
      auto,
      auto,
      auto,
      auto,
      auto,
      auto,
      auto,
      52px 38px,
      52px 38px;
    background-position:
      0 0,
      0 0,
      0 0,
      0 0,
      0 0,
      0 0,
      0 0,
      0 0,
      0 0,
      0 0,
      0 0,
      10% 88%,
      calc(10% + 2px) calc(88% + 2px);
    background-repeat: no-repeat;
  }

  .panel--faq__shapes::before {
    background:
      radial-gradient(
        ellipse 100px 50px at 50% calc(100% + 14px),
        color-mix(in srgb, var(--color-accent) 45%, transparent) 0 100%,
        transparent 100%
      ),
      radial-gradient(
        circle 64px at calc(100% - 20px) calc(100% + 16px),
        color-mix(in srgb, var(--color-accent) 65%, transparent) 0 98%,
        transparent 100%
      ),
      radial-gradient(
        ellipse 80px 32px at 34% 26%,
        color-mix(in srgb, var(--color-blue) 34%, white) 0 100%,
        transparent 100%
      ),
      linear-gradient(
        68deg,
        transparent 48%,
        color-mix(in srgb, var(--color-accent) 22%, transparent) 48%,
        color-mix(in srgb, var(--color-accent) 22%, transparent) 53%,
        transparent 53%
      ),
      linear-gradient(
        color-mix(in srgb, var(--color-white) 14%, transparent),
        color-mix(in srgb, var(--color-white) 14%, transparent)
      ),
      linear-gradient(
        color-mix(in srgb, var(--color-accent) 70%, transparent),
        color-mix(in srgb, var(--color-accent) 70%, transparent)
      ),
      linear-gradient(
        color-mix(in srgb, var(--color-blue) 50%, white),
        color-mix(in srgb, var(--color-blue) 50%, white)
      );
    background-size:
      auto,
      auto,
      auto,
      auto,
      68px 44px,
      68px 44px,
      28px 28px;
    background-position:
      0 0,
      0 0,
      0 0,
      0 0,
      72% 42%,
      calc(72% + 2px) calc(42% + 2px),
      4% 48%;
    background-repeat: no-repeat;
  }

  .panel--faq__shapes::after {
    background:
      radial-gradient(
        circle 36px at 90% 16%,
        transparent 58%,
        color-mix(in srgb, var(--color-white) 28%, transparent) 58% 72%,
        transparent 72%
      ),
      radial-gradient(
        circle 40px at 24% 94%,
        transparent 55%,
        color-mix(in srgb, var(--color-accent) 40%, transparent) 55% 70%,
        transparent 70%
      ),
      linear-gradient(
        42deg,
        transparent 44%,
        color-mix(in srgb, var(--color-white) 12%, transparent) 44%,
        color-mix(in srgb, var(--color-white) 12%, transparent) 45%,
        transparent 45%
      ),
      linear-gradient(var(--color-accent), var(--color-accent)),
      linear-gradient(
        color-mix(in srgb, var(--color-blue) 45%, white),
        color-mix(in srgb, var(--color-blue) 45%, white)
      );
    background-size:
      auto,
      auto,
      auto,
      20px 14px,
      30px 20px;
    background-position:
      0 0,
      0 0,
      0 0,
      38% 14%,
      46% 20%;
    background-repeat: no-repeat;
  }

  .panel--faq::after {
    background-size: 140px 140px;
  }
}

/* ==========================================================================
   Footer panel
   ========================================================================== */
.panel--footer {
  background: var(--color-blue);
  color: var(--color-white);
  font-weight: 600;
  justify-content: flex-start;
  padding: calc(var(--header-height) + 20px) var(--gutter) 24px;
  gap: 0;
}

.footer-main,
.footer-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 56px;
  min-height: 0;
  width: 100%;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-columns--addresses {
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-col {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: var(--p-baby-size);
}

.footer-col strong {
  font-weight: 700;
}

.footer-columns:not(.footer-columns--addresses):not(.footer-columns--bottom) .footer-col > strong,
.footer-address-link__name {
  display: inline-block;
  align-self: flex-start;
  padding: 0;
  line-height: 1;
  background: var(--color-accent);
  color: var(--color-white);
}

@media (min-width: 769px) {
  .footer-columns:not(.footer-columns--bottom) .footer-col > strong,
  .footer-address-link__name {
    font-size: var(--p-daddy-size);
    line-height: 1;
  }
}

.footer-col em {
  font-style: italic;
  font-weight: 600;
  opacity: 1;
}

.panel--footer a,
.panel--footer .footer-bottom__copyright,
.panel--footer .footer-bottom__credit {
  font-weight: inherit;
}

.footer-bottom__credit-brand {
  display: inline;
  white-space: nowrap;
}

.footer-bottom__credit-logo {
  display: inline-block;
  height: 1em;
  width: 1em;
  margin-right: 0.35em;
  object-fit: contain;
  /* Aligné sur la ligne de base du texte, comme un caractère. */
  vertical-align: -0.15em;
}

.footer-link-char {
  font-style: normal;
  transition: font-style 0.1s ease;
  transition-delay: calc(var(--char-index, 0) * 0.028s);
}

/* Desktop : hover / focus-visible */
@media (hover: hover) and (pointer: fine) {
  .panel--footer a:hover .footer-link-char,
  .panel--footer a:focus-visible .footer-link-char,
  .footer-address-link:hover .footer-address-link__name .footer-link-char,
  .footer-address-link:focus-visible .footer-address-link__name .footer-link-char,
  .footer-col:has([data-weather]:hover) .footer-address-link__name .footer-link-char {
    font-style: italic;
  }

  /* « Afficher sur Google Maps » : italique gras, puis droit lettre à lettre. */
  .footer-address-link:hover .footer-address-link__line--hover .footer-link-char,
  .footer-address-link:focus-visible .footer-address-link__line--hover .footer-link-char,
  .footer-col:has([data-weather]:hover) .footer-address-link__line--hover .footer-link-char {
    font-style: normal;
  }
}

/* Mobile / tactile : :active + classe JS (iOS n’applique :active qu’avec un touch listener) */
.panel--footer a:active .footer-link-char,
.panel--footer a.is-italic-active .footer-link-char,
.footer-address-link:active .footer-address-link__name .footer-link-char,
.footer-address-link.is-italic-active .footer-address-link__name .footer-link-char {
  font-style: italic;
}

@media (prefers-reduced-motion: reduce) {
  .footer-link-char {
    transition: none;
  }

  @media (hover: hover) and (pointer: fine) {
    .panel--footer a:hover,
    .panel--footer a:focus-visible {
      font-style: italic;
    }
  }

  .panel--footer a:active,
  .panel--footer a.is-italic-active {
    font-style: italic;
  }
}

.footer-weather {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
}

.footer-weather__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  opacity: 1;
}

.footer-weather__text {
  font-style: inherit;
  font-weight: inherit;
}

.footer-address-link {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-height: 52px;
  line-height: 1.35;
}

.footer-address-link__default,
.footer-address-link__name {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-address-link__name {
  display: inline-flex;
  align-self: flex-start;
}

/* Page d'accueil : les noms des établissements passent en capitales. */
.page--home .footer-address-link__name {
  text-transform: uppercase;
}

.footer-address-link__line--hover {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .footer-address-link {
    position: relative;
  }

  .footer-address-link__line--hover {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    visibility: hidden;
    font-style: italic;
    font-weight: 700;
  }

  .footer-address-link__line--hover .footer-link-char {
    font-style: italic;
    font-weight: 700;
  }

  .footer-address-link:hover .footer-address-link__line--default,
  .footer-address-link:focus-visible .footer-address-link__line--default,
  .footer-col:has([data-weather]:hover) .footer-address-link__line--default {
    visibility: hidden;
  }

  .footer-address-link:hover .footer-address-link__line--hover,
  .footer-address-link:focus-visible .footer-address-link__line--hover,
  .footer-col:has([data-weather]:hover) .footer-address-link__line--hover {
    visibility: visible;
  }
}

.footer-columns--bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-columns--bottom .footer-col {
  gap: 0;
  font-size: var(--p-baby-size);
}

.footer-bottom__logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: fit-content;
}

.footer-bottom__logo img {
  display: block;
  height: 96px;
  width: auto;
  transition: opacity 0.25s ease;
}

.footer-bottom__logo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/logo-footer-hover.png') no-repeat center / contain;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 1;
}

@media (hover: hover) and (pointer: fine) and (min-width: 769px) {
  .footer-bottom__logo:hover img,
  .footer-bottom__logo:focus-visible img {
    opacity: 0;
  }

  .footer-bottom__logo:hover::after,
  .footer-bottom__logo:focus-visible::after {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-bottom__logo::after {
    transition: none;
  }
}

@media (max-width: 768px) {
  .panel--footer {
    overflow-y: auto;
    justify-content: flex-start;
    padding: calc(var(--header-height) + 16px) var(--gutter) calc(20px + env(safe-area-inset-bottom, 0px));
  }

  .footer-main,
  .footer-inner {
    gap: 28px;
    justify-content: flex-start;
  }

  /* Contact, presse, légal — un bloc par ligne, jamais côte à côte. */
  .footer-columns:not(.footer-columns--addresses):not(.footer-columns--bottom) {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 20px;
  }

  .footer-columns--addresses,
  .footer-columns--bottom {
    display: flex;
    flex-direction: column;
  }

  .footer-columns {
    gap: 20px;
  }

  .footer-col {
    min-width: 0;
    flex: none;
    gap: 8px;
  }

  .footer-columns--addresses {
    padding-top: 24px;
    gap: 18px;
  }

  .footer-columns--addresses .footer-col {
    gap: 8px;
  }

  .footer-columns--bottom {
    padding-top: 20px;
    align-items: flex-start;
    text-align: left;
    gap: 10px;
  }

  .footer-columns--bottom .footer-col {
    align-items: flex-start;
    width: 100%;
  }

  .footer-bottom__logo {
    display: none;
  }

  .footer-address-link {
    min-height: auto;
    gap: 0;
    line-height: 1.15;
  }

  .footer-address-link__default {
    line-height: 1.15;
  }

  .footer-address-link__line--default {
    display: none;
  }

  .footer-address-link__line--hover {
    display: block;
    position: static;
    opacity: 0.9;
    font-size: inherit;
    line-height: 1.15;
    margin-top: 0;
  }

  .footer-weather {
    margin-top: 4px;
  }

  /* Home : footer légèrement resserré pour gagner de la hauteur. Redéfinir la
     variable suffit — tout le footer tire sa taille de --p-baby-size. */
  .page--home .panel--footer {
    --p-baby-size: 11px;
  }

  /* Réseaux sociaux sur une seule ligne : les <br /> du markup, qui les
     empilaient, sont neutralisés au profit du gap. */
  .footer-social {
    display: flex;
    flex-wrap: wrap;
    column-gap: 14px;
    row-gap: 2px;
  }

  .footer-social br {
    display: none;
  }
}

/* ==========================================================================
   Footer geometric shapes (home page only — .panel--footer--shapes)
   Same visual language as FAQ (yellow arcs, light blue bands, dots, rings,
   offset rectangles, grain) — mirrored placements for a distinct composition.
   Subtle drift animations on shape layers; scrim/grain stay static on panel.
   ========================================================================== */
.panel--footer--shapes {
  isolation: isolate;
  overflow: hidden;
}

.panel--footer__shapes,
.panel--footer__shapes::before,
.panel--footer__shapes::after,
.panel--footer--shapes::before,
.panel--footer--shapes::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Les couches animées débordent volontairement du panneau. Elles se déplacent
   de ±13px et pivotent de ±1°, ce qui découvrait le bleu du fond sur le bord
   opposé ; la marge négative garantit qu'un bord reste toujours couvert.
   Le panneau est en overflow:hidden, le débordement ne se voit pas. */
.panel--footer__shapes,
.panel--footer__shapes::before,
.panel--footer__shapes::after {
  inset: -60px;
  will-change: transform;
}

.panel--footer__shapes {
  z-index: 0;
  background:
  /* subtle bottom depth fade */
    linear-gradient(
      to top,
      color-mix(in srgb, var(--color-blue) 88%, black) 0%,
      transparent 14%
    ),
  /* large yellow arc — top left (FAQ mirror) */
    radial-gradient(
      circle clamp(150px, 38vw, 340px) at -32px -28px,
      var(--color-accent) 0 98%,
      transparent 100%
    ),
  /* medium yellow arc — bottom right */
    radial-gradient(
      circle clamp(100px, 26vw, 210px) at calc(100% + 36px) calc(100% - 56px),
      color-mix(in srgb, var(--color-accent) 88%, transparent) 0 98%,
      transparent 100%
    ),
  /* yellow quarter-circle — mid right */
    radial-gradient(
      circle clamp(68px, 15vw, 116px) at calc(100% + 14px) 36%,
      color-mix(in srgb, var(--color-accent) 72%, transparent) 0 98%,
      transparent 100%
    ),
  /* light blue circle — center left */
    radial-gradient(
      circle clamp(88px, 19vw, 150px) at 6% 58%,
      color-mix(in srgb, var(--color-blue) 36%, white) 0 100%,
      transparent 100%
    ),
  /* light blue circle — lower right */
    radial-gradient(
      circle clamp(48px, 11vw, 84px) at 90% 86%,
      color-mix(in srgb, var(--color-blue) 40%, white) 0 100%,
      transparent 100%
    ),
  /* small yellow dot */
    radial-gradient(
      circle 18px at 74% 28%,
      var(--color-accent) 0 100%,
      transparent 100%
    ),
  /* small yellow dot */
    radial-gradient(
      circle 12px at 16% 82%,
      color-mix(in srgb, var(--color-accent) 80%, transparent) 0 100%,
      transparent 100%
    ),
  /* small light blue dot */
    radial-gradient(
      circle 10px at 38% 12%,
      color-mix(in srgb, var(--color-blue) 30%, white) 0 100%,
      transparent 100%
    ),
  /* main diagonal light blue band — mirrored angle */
    linear-gradient(
      -118deg,
      transparent 22%,
      color-mix(in srgb, var(--color-blue) 42%, white) 22%,
      color-mix(in srgb, var(--color-blue) 42%, white) 35%,
      transparent 35%
    ),
  /* secondary diagonal blue band */
    linear-gradient(
      42deg,
      transparent 58%,
      color-mix(in srgb, var(--color-blue) 32%, white) 58%,
      color-mix(in srgb, var(--color-blue) 32%, white) 67%,
      transparent 67%
    ),
  /* thin yellow accent stripe */
    linear-gradient(
      -22deg,
      transparent 72%,
      color-mix(in srgb, var(--color-accent) 55%, transparent) 72%,
      color-mix(in srgb, var(--color-accent) 55%, transparent) 73.2%,
      transparent 73.2%
    ),
  /* offset rectangle — light fill */
    linear-gradient(
      color-mix(in srgb, var(--color-blue) 28%, white),
      color-mix(in srgb, var(--color-blue) 28%, white)
    ),
  /* offset rectangle — yellow shadow */
    linear-gradient(var(--color-accent), var(--color-accent));
  background-size:
    auto,
    auto,
    auto,
    auto,
    auto,
    auto,
    auto,
    auto,
    auto,
    auto,
    auto,
    auto,
    68px 48px,
    68px 48px;
  background-position:
    0 0,
    0 0,
    0 0,
    0 0,
    0 0,
    0 0,
    0 0,
    0 0,
    0 0,
    0 0,
    0 0,
    0 0,
    82% 6%,
    calc(82% + 3px) calc(6% + 3px);
  background-repeat: no-repeat;
  animation: footer-shapes-drift 24s ease-in-out infinite;
  transform-origin: center center;
}

.panel--footer__shapes::before {
  z-index: 0;
  background:
  /* yellow semicircle — bottom left */
    radial-gradient(
      ellipse clamp(130px, 32vw, 260px) clamp(65px, 16vw, 130px) at -28px calc(100% + 18px),
      color-mix(in srgb, var(--color-accent) 45%, transparent) 0 100%,
      transparent 100%
    ),
  /* yellow arc — bottom center */
    radial-gradient(
      circle clamp(76px, 17vw, 132px) at 50% calc(100% + 22px),
      color-mix(in srgb, var(--color-accent) 65%, transparent) 0 98%,
      transparent 100%
    ),
  /* light blue pill — lower right */
    radial-gradient(
      ellipse 112px 44px at 74% 78%,
      color-mix(in srgb, var(--color-blue) 34%, white) 0 100%,
      transparent 100%
    ),
  /* diagonal yellow band — opposite angle */
    linear-gradient(
      -72deg,
      transparent 46%,
      color-mix(in srgb, var(--color-accent) 22%, transparent) 46%,
      color-mix(in srgb, var(--color-accent) 22%, transparent) 50%,
      transparent 50%
    ),
  /* steep light blue stripe */
    linear-gradient(
      -18deg,
      transparent 14%,
      color-mix(in srgb, var(--color-blue) 38%, white) 14%,
      color-mix(in srgb, var(--color-blue) 38%, white) 17%,
      transparent 17%
    ),
  /* white translucent rectangle */
    linear-gradient(
      color-mix(in srgb, var(--color-white) 14%, transparent),
      color-mix(in srgb, var(--color-white) 14%, transparent)
    ),
  /* yellow offset shadow for white rectangle */
    linear-gradient(
      color-mix(in srgb, var(--color-accent) 70%, transparent),
      color-mix(in srgb, var(--color-accent) 70%, transparent)
    ),
  /* small blue square — upper right */
    linear-gradient(
      color-mix(in srgb, var(--color-blue) 50%, white),
      color-mix(in srgb, var(--color-blue) 50%, white)
    );
  background-size:
    auto,
    auto,
    auto,
    auto,
    auto,
    92px 60px,
    92px 60px,
    34px 34px;
  background-position:
    0 0,
    0 0,
    0 0,
    0 0,
    0 0,
    24% 62%,
    calc(24% + 3px) calc(62% + 3px),
    92% 24%;
  background-repeat: no-repeat;
  animation: footer-shapes-float 20s ease-in-out infinite;
  transform-origin: 60% 40%;
}

.panel--footer__shapes::after {
  z-index: 0;
  background:
  /* ring — hollow circle upper left */
    radial-gradient(
      circle clamp(42px, 9vw, 68px) at 12% 22%,
      transparent 58%,
      color-mix(in srgb, var(--color-white) 28%, transparent) 58% 72%,
      transparent 72%
    ),
  /* ring — hollow circle lower right */
    radial-gradient(
      circle 54px at 84% 90%,
      transparent 55%,
      color-mix(in srgb, var(--color-accent) 40%, transparent) 55% 70%,
      transparent 70%
    ),
  /* cross stripe pair — flipped angles */
    linear-gradient(
      -45deg,
      transparent 52%,
      color-mix(in srgb, var(--color-white) 12%, transparent) 52%,
      color-mix(in srgb, var(--color-white) 12%, transparent) 52.8%,
      transparent 52.8%
    ),
    linear-gradient(
      45deg,
      transparent 68%,
      color-mix(in srgb, var(--color-accent) 18%, transparent) 68%,
      color-mix(in srgb, var(--color-accent) 18%, transparent) 68.8%,
      transparent 68.8%
    ),
  /* stacked mini rectangles — right-side editorial cluster */
    linear-gradient(var(--color-accent), var(--color-accent)),
    linear-gradient(
      color-mix(in srgb, var(--color-blue) 45%, white),
      color-mix(in srgb, var(--color-blue) 45%, white)
    ),
    linear-gradient(
      color-mix(in srgb, var(--color-white) 20%, transparent),
      color-mix(in srgb, var(--color-white) 20%, transparent)
    );
  background-size:
    auto,
    auto,
    auto,
    auto,
    26px 18px,
    38px 26px,
    20px 14px;
  background-position:
    0 0,
    0 0,
    0 0,
    0 0,
    78% 52%,
    84% 58%,
    80% 66%;
  background-repeat: no-repeat;
  animation: footer-shapes-pulse 18s ease-in-out infinite;
  transform-origin: 30% 70%;
}

@keyframes footer-shapes-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  33% {
    transform: translate3d(-12px, 9px, 0) scale(1.048);
  }

  66% {
    transform: translate3d(10px, -8px, 0) scale(1.04);
  }
}

@keyframes footer-shapes-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }

  40% {
    transform: translate3d(11px, -13px, 0) rotate(1deg) scale(1.056);
  }

  75% {
    transform: translate3d(-9px, 8px, 0) rotate(-0.8deg) scale(1.044);
  }
}

@keyframes footer-shapes-pulse {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
  }

  50% {
    transform: translate3d(-9px, 10px, 0) scale(1.052);
    opacity: 0.9;
  }
}

@media (prefers-reduced-motion: reduce) {
  .panel--footer__shapes,
  .panel--footer__shapes::before,
  .panel--footer__shapes::after {
    animation: none;
  }
}

.panel--footer--shapes::before {
  z-index: 1;
  background:
    radial-gradient(
      ellipse 150% 130% at 50% 46%,
      color-mix(in srgb, var(--color-blue) 32%, transparent) 0%,
      color-mix(in srgb, var(--color-blue) 14%, transparent) 38%,
      transparent 62%
    );
}

.panel--footer--shapes::after {
  z-index: 1;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
}

.panel--footer--shapes > *:not(.panel--footer__shapes) {
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .panel--footer__shapes {
    background:
      linear-gradient(
        to top,
        color-mix(in srgb, var(--color-blue) 88%, black) 0%,
        transparent 10%
      ),
      radial-gradient(
        circle clamp(110px, 48vw, 200px) at -24px -20px,
        var(--color-accent) 0 98%,
        transparent 100%
      ),
      radial-gradient(
        circle clamp(76px, 34vw, 140px) at calc(100% + 20px) calc(100% - 40px),
        color-mix(in srgb, var(--color-accent) 88%, transparent) 0 98%,
        transparent 100%
      ),
      radial-gradient(
        circle clamp(50px, 22vw, 84px) at calc(100% + 10px) 34%,
        color-mix(in srgb, var(--color-accent) 72%, transparent) 0 98%,
        transparent 100%
      ),
      radial-gradient(
        circle clamp(60px, 26vw, 100px) at 4% 62%,
        color-mix(in srgb, var(--color-blue) 36%, white) 0 100%,
        transparent 100%
      ),
      radial-gradient(
        circle 36px at 92% 90%,
        color-mix(in srgb, var(--color-blue) 40%, white) 0 100%,
        transparent 100%
      ),
      radial-gradient(
        circle 12px at 78% 24%,
        var(--color-accent) 0 100%,
        transparent 100%
      ),
      radial-gradient(
        circle 10px at 12% 86%,
        color-mix(in srgb, var(--color-accent) 80%, transparent) 0 100%,
        transparent 100%
      ),
      linear-gradient(
        -114deg,
        transparent 6%,
        color-mix(in srgb, var(--color-blue) 42%, white) 6%,
        color-mix(in srgb, var(--color-blue) 42%, white) 20%,
        transparent 20%
      ),
      linear-gradient(
        38deg,
        transparent 54%,
        color-mix(in srgb, var(--color-blue) 32%, white) 54%,
        color-mix(in srgb, var(--color-blue) 32%, white) 64%,
        transparent 64%
      ),
      linear-gradient(
        -18deg,
        transparent 66%,
        color-mix(in srgb, var(--color-accent) 55%, transparent) 66%,
        color-mix(in srgb, var(--color-accent) 55%, transparent) 67.4%,
        transparent 67.4%
      ),
      linear-gradient(
        color-mix(in srgb, var(--color-blue) 28%, white),
        color-mix(in srgb, var(--color-blue) 28%, white)
      ),
      linear-gradient(var(--color-accent), var(--color-accent));
    background-size:
      auto,
      auto,
      auto,
      auto,
      auto,
      auto,
      auto,
      auto,
      auto,
      auto,
      auto,
      48px 34px,
      48px 34px;
    background-position:
      0 0,
      0 0,
      0 0,
      0 0,
      0 0,
      0 0,
      0 0,
      0 0,
      0 0,
      0 0,
      0 0,
      86% 4%,
      calc(86% + 2px) calc(4% + 2px);
    background-repeat: no-repeat;
  }

  .panel--footer__shapes::before {
    background:
      radial-gradient(
        ellipse 96px 48px at -20px calc(100% + 12px),
        color-mix(in srgb, var(--color-accent) 45%, transparent) 0 100%,
        transparent 100%
      ),
      radial-gradient(
        circle 60px at 50% calc(100% + 14px),
        color-mix(in srgb, var(--color-accent) 65%, transparent) 0 98%,
        transparent 100%
      ),
      radial-gradient(
        ellipse 84px 34px at 78% 82%,
        color-mix(in srgb, var(--color-blue) 34%, white) 0 100%,
        transparent 100%
      ),
      linear-gradient(
        -68deg,
        transparent 42%,
        color-mix(in srgb, var(--color-accent) 22%, transparent) 42%,
        color-mix(in srgb, var(--color-accent) 22%, transparent) 47%,
        transparent 47%
      ),
      linear-gradient(
        color-mix(in srgb, var(--color-white) 14%, transparent),
        color-mix(in srgb, var(--color-white) 14%, transparent)
      ),
      linear-gradient(
        color-mix(in srgb, var(--color-accent) 70%, transparent),
        color-mix(in srgb, var(--color-accent) 70%, transparent)
      ),
      linear-gradient(
        color-mix(in srgb, var(--color-blue) 50%, white),
        color-mix(in srgb, var(--color-blue) 50%, white)
      );
    background-size:
      auto,
      auto,
      auto,
      auto,
      64px 42px,
      64px 42px,
      26px 26px;
    background-position:
      0 0,
      0 0,
      0 0,
      0 0,
      18% 68%,
      calc(18% + 2px) calc(68% + 2px),
      94% 20%;
    background-repeat: no-repeat;
  }

  .panel--footer__shapes::after {
    background:
      radial-gradient(
        circle 32px at 8% 18%,
        transparent 58%,
        color-mix(in srgb, var(--color-white) 28%, transparent) 58% 72%,
        transparent 72%
      ),
      radial-gradient(
        circle 38px at 88% 94%,
        transparent 55%,
        color-mix(in srgb, var(--color-accent) 40%, transparent) 55% 70%,
        transparent 70%
      ),
      linear-gradient(
        -42deg,
        transparent 48%,
        color-mix(in srgb, var(--color-white) 12%, transparent) 48%,
        color-mix(in srgb, var(--color-white) 12%, transparent) 49%,
        transparent 49%
      ),
      linear-gradient(var(--color-accent), var(--color-accent)),
      linear-gradient(
        color-mix(in srgb, var(--color-blue) 45%, white),
        color-mix(in srgb, var(--color-blue) 45%, white)
      );
    background-size:
      auto,
      auto,
      auto,
      18px 12px,
      28px 18px;
    background-position:
      0 0,
      0 0,
      0 0,
      82% 48%,
      88% 54%;
    background-repeat: no-repeat;
  }

  .panel--footer--shapes::after {
    background-size: 140px 140px;
  }
}

/* ==========================================================================
   Custom cursor — yellow (or white on accent) dot; white ring on hover.
   Desktop only (mouse/trackpad, not touch). No crown transformation.
   ========================================================================== */
@media (hover: hover) and (pointer: fine) {
  .has-custom-cursor,
  .has-custom-cursor a,
  .has-custom-cursor button {
    cursor: none;
  }
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 10050;
  will-change: transform;
}

.custom-cursor__dot {
  position: absolute;
  top: -7px;
  left: -7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 0 transparent;
  transition: box-shadow 0.18s ease, background 0.18s ease;
}

/* Hover (liens & boutons) : anneau blanc autour du point */
.custom-cursor.is-hovering .custom-cursor__dot {
  box-shadow: 0 0 0 2px var(--color-white);
}

/* Yellow sidebar (.rooms-nav): white dot for contrast */
.custom-cursor.is-on-accent .custom-cursor__dot {
  background: var(--color-white);
}

@media (prefers-reduced-motion: reduce) {
  .custom-cursor__dot {
    transition: none;
  }
}

/* ==========================================================================
   Venue hero — establishment pages (Fribourg City, …)
   Title sits at the top, description at the bottom, photo carousel behind.
   ========================================================================== */
.panel--venue-hero {
  justify-content: space-between;
  padding-top: calc(var(--header-height) - 14px);
  padding-bottom: 56px;
}

/* Extra top gradient so the title stays readable over any photo. */
.panel--venue-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 30%);
  z-index: 1;
  pointer-events: none;
}

/* The description block is tall, so the bottom veil reaches higher than on
   the home page hero (overrides .panel--hero::after). */
.panel--venue-hero::after {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.55) 35%, rgba(0, 0, 0, 0) 68%);
}

.venue-hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.venue-hero__slides picture {
  display: contents;
}

.venue-hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.venue-hero__slide.is-active {
  opacity: 1;
}

.venue-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 0 var(--gutter);
}

.venue-hero__title {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: var(--h1-size);
  line-height: 1.1;
  color: var(--color-white);
}

.venue-hero__text {
  max-width: 379px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-weight: 700;
  font-size: var(--p-baby-size);
  line-height: 1.45;
  color: var(--color-white);
}

/* Slide dots, vertical on the right edge */
.venue-hero__dots {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.venue-hero__dots:empty,
.venue-hero__dots--single {
  display: none;
}

.venue-hero__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid var(--color-white);
  border-radius: 50%;
  background: none;
  cursor: pointer;
}

.venue-hero__dot.is-active {
  background: var(--color-white);
}

/* CTA + flèche — bloc unique, aligné sur Book Now (bottom: 40px) sur desktop.
   Fade-in après délai (voir initVenueHeroCta) ; flèche et bouton bougent ensemble. */
.venue-hero__actions {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translate(-50%, -24px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease,
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.venue-hero__actions.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  animation: venue-hero-actions-bob 2.2s ease-in-out 0.85s infinite;
}

@keyframes venue-hero-actions-bob {
  0%,
  100% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, -10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .venue-hero__actions,
  .venue-hero__actions.is-visible {
    transform: translate(-50%, 0);
    transition: opacity 0.45s ease, visibility 0.45s ease;
    animation: none;
  }
}

.venue-hero__cta {
  position: relative;
  z-index: 1;
}

/* Downward scroll cue — dans le bloc actions, au-dessus du bouton */
.venue-hero__scroll {
  position: relative;
  flex-shrink: 0;
  width: 24px;
  height: 26px;
}

.venue-hero__scroll::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--color-white);
  transform: translateX(-50%);
}

.venue-hero__scroll::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--color-white);
  border-bottom: 2px solid var(--color-white);
  transform: translate(-50%, 0) rotate(45deg);
}

/* Bouton « Découvrir nos établissements » dans la section intro de la home —
   desktop uniquement. */
@media (max-width: 768px) {
  .venue-hero__actions--intro {
    display: none;
  }
}

@media (max-width: 768px) {
  .panel--venue-hero {
    padding-top: calc(var(--header-height) + 4px);
    padding-bottom: 40px;
  }

  .venue-hero__inner {
    flex: 1;
    min-height: 0;
    height: auto;
  }

  .venue-hero__title {
    font-size: 29px;
  }

  .venue-hero__text {
    max-width: 264px;
    gap: 12px;
    margin-bottom: 0;
    /* Réserve l'espace du bouton + interligne fixe (gap constant). */
    padding-bottom: calc(22px + 24px);
  }

  /* Aligné à gauche, flèche à droite du bouton pour inviter à scroller. */
  .venue-hero__actions {
    left: var(--gutter);
    right: auto;
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    transform: translateY(12px);
    flex-direction: row;
    align-items: center;
    gap: 12px;
    transition: opacity 0.45s ease, visibility 0.45s ease,
      transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .venue-hero__cta {
    order: 1;
  }

  .venue-hero__scroll {
    display: none;
  }

  .venue-hero__actions.is-visible {
    transform: translateY(0);
    animation: venue-hero-actions-bob-mobile 2.2s ease-in-out 0.85s infinite;
  }

  @keyframes venue-hero-actions-bob-mobile {
    0%,
    100% {
      transform: translateY(0);
    }

    50% {
      transform: translateY(4px);
    }
  }
}

@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
  .venue-hero__actions,
  .venue-hero__actions.is-visible {
    transform: translateY(0);
    animation: none;
  }
}

/* ==========================================================================
   Rooms panel — yellow selector sidebar + large photo viewer
   ========================================================================== */
.panel--rooms {
  flex-direction: row;
  background: var(--color-accent);
}

/* --- Sidebar ------------------------------------------------------------ */
.rooms-nav {
  position: relative;
  z-index: 1;
  width: 420px;
  flex-shrink: 0;
  background: var(--color-accent);
  display: flex;
  flex-direction: column;
  /* Espace pour la couronne du header ; mobile garde padding-top: 0. */
  padding-top: calc(var(--header-height) - 10px);
}

.rooms-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-white);
}

.rooms-list__item {
  position: relative;
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 10px 40px 10px 19px;
  background: none;
  border: none;
  border-bottom: 1px solid var(--color-white);
  font-family: var(--font-main);
  font-weight: 400;
  font-size: var(--p-daddy-size);
  color: var(--color-white);
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, font-weight 0.15s ease;
}

.rooms-list__item.is-active {
  min-height: 65px;
  background: var(--color-white);
  color: #00426e;
  font-weight: 700;
}

/* Chevron, only on the selected room */
.rooms-list__item::after {
  content: '';
  position: absolute;
  right: 27px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 3px solid #00426e;
  border-top: 3px solid #00426e;
  transform: translateY(-50%) rotate(45deg);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.rooms-list__item.is-active::after {
  opacity: 1;
}

/* "Back to categories" row */
.rooms-list__item--back {
  gap: 12px;
  font-weight: 400;
  font-style: italic;
}

.rooms-list__item--back::after {
  content: none;
}

.rooms-list__back-icon {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(45deg);
}

/* Même inset bas (34px) + hauteur (32px) que .rooms-viewer__actions / __cta.
   margin-bottom (pas padding) : sous border-box, height:32px + padding-bottom:34px
   écrasait le contenu. */
.rooms-nav__maps {
  margin-top: auto;
  margin-bottom: 34px;
  display: flex;
  align-items: center;
  height: 32px;
  padding: 0 0 0 19px;
  font-family: var(--font-main);
  font-weight: 200;
  font-style: italic;
  font-size: var(--p-daddy-size);
  line-height: 1;
  white-space: nowrap;
  color: var(--color-white);
}

.rooms-nav__maps-label {
  display: inline-block;
  font-synthesis: style;
}

.rooms-nav__maps .footer-link-char {
  font-style: italic;
}

@media (hover: hover) and (pointer: fine) {
  .rooms-nav__maps:hover .footer-link-char,
  .rooms-nav__maps:focus-visible .footer-link-char {
    font-style: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  @media (hover: hover) and (pointer: fine) {
    .rooms-nav__maps:hover,
    .rooms-nav__maps:focus-visible {
      font-style: normal;
    }
  }
}

/* --- Photo viewer ------------------------------------------------------- */
.rooms-viewer {
  position: relative;
  flex: 1;
  overflow: hidden;
  cursor: pointer;
}

.rooms-viewer__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Keeps the overlaid title and CTA readable on bright photos. */
.rooms-viewer::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 28%),
    linear-gradient(to top, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 22%);
  pointer-events: none;
}

/* Aligné avec la 1re ligne de .rooms-list (padding-top sidebar + item actif) */
.rooms-viewer__title {
  position: absolute;
  top: calc(var(--header-height) - 10px);
  left: 27px;
  z-index: 2;
  height: 65px;
  display: flex;
  align-items: center;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: var(--h1-size);
  line-height: 1.1;
  color: var(--color-white);
}

.rooms-viewer__actions {
  position: absolute;
  left: 26px;
  bottom: 34px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 140px);
}

.rooms-viewer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 10px;
  background: var(--color-white);
  border: 1px solid var(--color-black);
  box-shadow: 2px 2px 0 var(--color-accent);
  font-family: var(--font-main);
  font-weight: 300;
  font-size: var(--p-baby-size);
  color: var(--color-black);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

/* Numérotation photo — bas centre de l’image (desktop) */
.rooms-viewer__counter {
  position: absolute;
  left: 50%;
  bottom: 40px;
  z-index: 2;
  transform: translateX(-50%);
  font-family: var(--font-main);
  font-weight: 300;
  font-size: var(--p-baby-size);
  color: var(--color-white);
  letter-spacing: 0.05em;
  pointer-events: none;
}

.rooms-viewer__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  transform: translateY(-50%);
  cursor: pointer;
}

.rooms-viewer__arrow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 19px;
  height: 19px;
  border-right: 6px solid var(--color-white);
  border-top: 6px solid var(--color-white);
}

.rooms-viewer__arrow--prev {
  left: 8px;
}
.rooms-viewer__arrow--prev::before {
  transform: translate(-30%, -50%) rotate(-135deg);
}

.rooms-viewer__arrow--next {
  right: 8px;
}
.rooms-viewer__arrow--next::before {
  transform: translate(-70%, -50%) rotate(45deg);
}

/* --- Mobile: photo on top, 2-column selector grid below ----------------- */
@media (max-width: 768px) {
  .panel--rooms {
    flex-direction: column;
  }

  .rooms-viewer {
    flex: none;
    height: 410px;
    order: 1;
  }

  .rooms-viewer__title {
    /* Sous le header fixe, qui chevauche la photo sur mobile. */
    top: calc(var(--header-height) + 8px);
    left: 16px;
    height: auto;
    display: block;
    font-size: 26px;
  }

  .rooms-viewer__actions {
    left: 16px;
    bottom: 18px;
    gap: 6px;
    max-width: calc(100% - 90px);
  }

  .rooms-viewer__cta {
    height: 20px;
    padding: 0 6px;
    font-size: 10px;
    box-shadow: 1px 1px 0 var(--color-accent);
  }

  .rooms-viewer__arrow {
    width: 34px;
    height: 34px;
  }

  .rooms-viewer__arrow::before {
    width: 12px;
    height: 12px;
    border-right-width: 4px;
    border-top-width: 4px;
  }

  .rooms-viewer__counter {
    font-size: 11px;
  }

  /* Mobile venue : Book Now remplace la numérotation photo (coin bas-droit images) */
  .page--venue .rooms-viewer__counter {
    display: none;
  }

  .page--venue.is-rooms-active .book-now {
    /* Bas du cercle aligné sur « Les détails » / « Réserver » (18px).
       `top` plutôt que `100vh` : même ancrage en Chrome et sur iPhone publié. */
    bottom: auto;
    top: calc(410px - 18px - 52px);
  }

  .rooms-nav {
    order: 2;
    width: 100%;
    flex: 1;
    padding-top: 0;
  }

  .rooms-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .rooms-list__item {
    min-height: 55px;
    justify-content: center;
    padding: 8px 12px;
    font-size: var(--p-baby-size);
    text-align: center;
    border-right: 1px solid var(--color-white);
  }

  .rooms-list__item.is-active {
    min-height: 55px;
  }

  /* No right border on the second column */
  .rooms-list li:nth-child(even) .rooms-list__item {
    border-right: none;
  }

  /* Chevron would crowd the centred labels on mobile */
  .rooms-list__item::after {
    display: none;
  }

  .rooms-nav__maps {
    height: auto;
    margin-bottom: 0;
    padding: 18px 16px 22px;
    font-size: var(--p-baby-size);
  }
}

/* ==========================================================================
   Room details — modal « Voir les détails »
   Unfolds from the CTA bottom-left corner toward the top-right.
   ========================================================================== */
body.room-details-open {
  overflow: hidden;
}

.room-details {
  position: fixed;
  inset: 0;
  z-index: 160;
  visibility: hidden;
  pointer-events: none;
}

.room-details.is-open,
.room-details.is-closing {
  visibility: visible;
}

.room-details.is-open {
  pointer-events: auto;
}

.room-details.is-closing {
  pointer-events: none;
}

.room-details__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.room-details.is-open .room-details__scrim {
  opacity: 1;
}

.room-details__panel {
  position: fixed;
  left: var(--room-details-left, 0);
  bottom: var(--room-details-bottom, 0);
  z-index: 1;
  width: var(--room-details-max-width, min(560px, 100%));
  max-width: var(--room-details-max-width, 560px);
  max-height: var(--room-details-max-height, min(80vh, 640px));
  overflow-y: auto;
  padding: 36px 32px 32px;
  background: var(--color-white);
  border: 1px solid var(--color-black);
  box-shadow: 4px 4px 0 var(--color-accent);
  transform-origin: bottom left;
  transform: scale(0);
  opacity: 0;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.25s ease;
}

.room-details.is-open .room-details__panel {
  transform: scale(1);
  opacity: 1;
}

.room-details.is-closing .room-details__scrim {
  transition-duration: 0.3s;
  transition-timing-function: ease-in;
}

.room-details.is-closing .room-details__panel {
  transition:
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.22s ease 0.04s;
}

.room-details__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  padding: 0;
  background: none;
  border: 1px solid var(--color-black);
  cursor: pointer;
}

.room-details__close-icon {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.room-details__close-icon::before,
.room-details__close-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1px;
  background: var(--color-black);
}

.room-details__close-icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.room-details__close-icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.room-details__title {
  margin: 0 32px 16px 0;
  font-family: var(--font-main);
  font-weight: 300;
  font-size: var(--h2-size);
  line-height: 1.15;
}

.room-details__text {
  margin: 0;
  font-family: var(--font-main);
  font-weight: 300;
  font-size: var(--p-daddy-size);
  line-height: 1.45;
}

@media (max-width: 768px) {
  .room-details__panel {
    padding: 28px 20px 24px;
    /* Laisse le Book Now (52px + rail) dégagé à droite. */
    max-width: min(
      var(--room-details-max-width, 560px),
      calc(100vw - var(--gutter) - var(--rail-right) - 52px - 12px)
    );
  }

  .room-details__title {
    font-size: var(--p-daddy-size);
    margin-bottom: 12px;
  }

  .room-details__text {
    font-size: var(--p-baby-size);
  }
}

@media (prefers-reduced-motion: reduce) {
  .room-details__panel,
  .room-details__scrim {
    transition: none;
  }
}

/* ==========================================================================
   Contact page (contact.html) — repris de la section /contact de Figma
   Panneau plein écran sur fond gris foncé : accroche en haut, canaux de
   contact près du bas, réseaux + mentions légales en pied.
   ========================================================================== */
.panel--contact {
  background: var(--color-dark);
  color: var(--color-white);
  padding: calc(var(--header-height) + 20px) var(--gutter) calc(24px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
}

.contact-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.panel--contact::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Dégradé sombre en haut (titre + texte) et en bas (coordonnées + réseaux),
     vidéo laissée claire au milieu. */
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.5) 16%,
    rgba(0, 0, 0, 0) 38%,
    rgba(0, 0, 0, 0) 60%,
    rgba(0, 0, 0, 0.5) 82%,
    rgba(0, 0, 0, 0.82) 100%
  );
  pointer-events: none;
}

.contact-intro,
.contact-channels,
.contact-bottom {
  position: relative;
  z-index: 2;
}

.contact-title {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 35px;
  line-height: 1.2;
}

.contact-lead {
  max-width: 788px;
  margin-top: 28px;
  font-size: 15px;
  line-height: 1.45;
}

/* Poussés vers le bas du panneau, comme dans la maquette. */
.contact-channels {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gutter);
}

.contact-channel {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-channel__link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-white);
}

.contact-channel__icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.contact-channel__caption {
  font-size: 15px;
  opacity: 0.85;
}

/* Survol du bloc entier (lien + légende) : la légende bascule en italique,
   lettre après lettre. Le décalage vient de .footer-link-char, partagé. */
@media (hover: hover) and (pointer: fine) {
  .contact-channel:hover .contact-channel__caption .footer-link-char,
  .contact-channel:focus-within .contact-channel__caption .footer-link-char {
    font-style: italic;
  }
}

@media (prefers-reduced-motion: reduce) {
  @media (hover: hover) and (pointer: fine) {
    .contact-channel:hover .contact-channel__caption,
    .contact-channel:focus-within .contact-channel__caption {
      font-style: italic;
    }
  }
}

.contact-bottom {
  margin-top: clamp(40px, 12vh, 130px);
  display: flex;
  align-items: center;
  gap: var(--gutter);
}

.contact-social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-social a {
  display: block;
  color: var(--color-white);
}

.contact-social svg {
  display: block;
  width: 30px;
  height: 30px;
  fill: currentColor;
}

@media (max-width: 768px) {
  .contact-title {
    font-size: 30px;
  }

  .contact-lead {
    margin-top: 20px;
    font-size: 12px;
  }

  /* Les deux canaux passent l'un sous l'autre. */
  .contact-channels {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-channel__link {
    font-size: 15px;
    gap: 10px;
  }

  .contact-channel__icon {
    width: 20px;
    height: 20px;
  }

  .contact-channel__caption {
    font-size: 10px;
  }

  .contact-bottom {
    /* Un peu remontés : moins d'écart au-dessus + petite marge sous les réseaux. */
    margin-top: clamp(20px, 6vh, 56px);
    margin-bottom: 8px;
  }

  .contact-social svg {
    width: 26px;
    height: 26px;
  }
}

/* ==========================================================================
   Page transition overlay — geometric shapes (footer visual language)
   Cover on leave, reveal on enter. Disabled via prefers-reduced-motion,
   ?notransition=1 or localStorage hine-disable-transition=1.
   ========================================================================== */

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  overflow: hidden;
  isolation: isolate;
}

.page-transition.is-active {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
}

/* Chaque bord pousse une lame géométrique pleine vers le centre.
   Les lames s'imbriquent pour couvrir tout l'écran (bascule de page ici),
   puis se rétractent vers leur bord d'origine. */
.page-transition__blade {
  position: absolute;
  will-change: transform;
  backface-visibility: hidden;
}

/* Base bleue : haut + bas se rejoignent en biais au centre. */
.page-transition__blade--top,
.page-transition__blade--bottom {
  left: -2vw;
  width: 104vw;
  height: 61%;
  background: var(--color-blue);
  z-index: 1;
}

.page-transition__blade--top {
  top: 0;
  transform-origin: top center;
  transform: scaleY(0);
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
}

.page-transition__blade--bottom {
  bottom: 0;
  transform-origin: bottom center;
  transform: scaleY(0);
  clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 100%);
}

/* Accents jaunes : deux triangles gauche + droite pointant vers le centre. */
.page-transition__blade--left,
.page-transition__blade--right {
  top: -2vh;
  height: 104vh;
  width: 52vw;
  background: var(--color-accent);
  z-index: 2;
}

.page-transition__blade--left {
  left: 0;
  transform-origin: left center;
  transform: scaleX(0);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.page-transition__blade--right {
  right: 0;
  transform-origin: right center;
  transform: scaleX(0);
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
}

/* Petit losange focal, dernière pièce posée au centre. */
.page-transition__diamond {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(48px, 8vw, 96px);
  height: clamp(48px, 8vw, 96px);
  background: var(--color-white);
  z-index: 3;
  transform: translate(-50%, -50%) rotate(45deg) scale(0);
  transform-origin: center;
}

/* État couvert statique (page d'arrivée, avant le reveal). */
.page-transition.is-covered-static .page-transition__blade--top,
.page-transition.is-covered-static .page-transition__blade--bottom {
  transform: scaleY(1);
  animation: none;
}

.page-transition.is-covered-static .page-transition__blade--left,
.page-transition.is-covered-static .page-transition__blade--right {
  transform: scaleX(1);
  animation: none;
}

.page-transition.is-covered-static .page-transition__diamond {
  transform: translate(-50%, -50%) rotate(45deg) scale(1);
  animation: none;
}

/* Cover : les lames arrivent depuis chaque bord, en cascade. */
.page-transition.is-covering .page-transition__blade--left {
  animation: pt-cover-x 0.62s cubic-bezier(0.22, 1, 0.36, 1) 0s forwards;
}

.page-transition.is-covering .page-transition__blade--right {
  animation: pt-cover-x 0.62s cubic-bezier(0.22, 1, 0.36, 1) 0.07s forwards;
}

.page-transition.is-covering .page-transition__blade--top {
  animation: pt-cover-y 0.62s cubic-bezier(0.22, 1, 0.36, 1) 0.14s forwards;
}

.page-transition.is-covering .page-transition__blade--bottom {
  animation: pt-cover-y 0.62s cubic-bezier(0.22, 1, 0.36, 1) 0.21s forwards;
}

.page-transition.is-covering .page-transition__diamond {
  animation: pt-cover-diamond 0.46s cubic-bezier(0.34, 1.56, 0.64, 1) 0.42s forwards;
}

/* Reveal : les lames repartent vers leur bord, en cascade inverse. */
.page-transition.is-revealing .page-transition__blade--top {
  transform: scaleY(1);
  animation: pt-reveal-y 0.6s cubic-bezier(0.64, 0, 0.78, 0) 0.1s forwards;
}

.page-transition.is-revealing .page-transition__blade--bottom {
  transform: scaleY(1);
  animation: pt-reveal-y 0.6s cubic-bezier(0.64, 0, 0.78, 0) 0.04s forwards;
}

.page-transition.is-revealing .page-transition__blade--left {
  transform: scaleX(1);
  animation: pt-reveal-x 0.6s cubic-bezier(0.64, 0, 0.78, 0) 0.22s forwards;
}

.page-transition.is-revealing .page-transition__blade--right {
  transform: scaleX(1);
  animation: pt-reveal-x 0.6s cubic-bezier(0.64, 0, 0.78, 0) 0.16s forwards;
}

.page-transition.is-revealing .page-transition__diamond {
  transform: translate(-50%, -50%) rotate(45deg) scale(1);
  animation: pt-reveal-diamond 0.32s cubic-bezier(0.64, 0, 0.78, 0) 0s forwards;
}

@keyframes pt-cover-x {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes pt-cover-y {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

@keyframes pt-cover-diamond {
  from { transform: translate(-50%, -50%) rotate(45deg) scale(0); }
  to { transform: translate(-50%, -50%) rotate(45deg) scale(1); }
}

@keyframes pt-reveal-x {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

@keyframes pt-reveal-y {
  from { transform: scaleY(1); }
  to { transform: scaleY(0); }
}

@keyframes pt-reveal-diamond {
  from { transform: translate(-50%, -50%) rotate(45deg) scale(1); }
  to { transform: translate(-50%, -50%) rotate(45deg) scale(0); }
}

@media (prefers-reduced-motion: reduce) {
  .page-transition,
  .page-transition.is-active {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }

  .page-transition__blade,
  .page-transition__diamond {
    animation: none !important;
  }
}

/* ==========================================================================
   Preloader d'accueil (home)
   Réutilise le langage géométrique des transitions : mêmes lames bleu/jaune
   qui couvrent l'écran (état couvert), avec une barre de progression au centre
   pendant le préchargement, puis les lames se rétractent pour révéler le site.
   ========================================================================== */
.site-preloader {
  z-index: 11000;
  background: var(--color-blue);
}

.site-preloader__bar {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 6;
  width: clamp(130px, 30vw, 260px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Losange plein qui tourne par à-coups (quarts de tour) mais en douceur,
   avec le pourcentage fixe et lisible en son centre. */
.site-preloader__diamond {
  position: relative;
  width: clamp(96px, 22vw, 128px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.site-preloader__diamond::before {
  content: '';
  position: absolute;
  width: 70%;
  height: 70%;
  background: var(--color-white);
  animation: preloader-spin 2.4s ease-in-out infinite;
}

.site-preloader__percent {
  position: relative;
  z-index: 1;
  font-family: var(--font-main);
  font-weight: 500;
  font-size: clamp(15px, 3.4vw, 20px);
  color: var(--color-blue);
  font-variant-numeric: tabular-nums;
}

/* Quart de tour, pause, quart de tour… : le losange reste un losange au repos
   (45°, 135°, 225°, 315°) et pivote en douceur entre chaque palier. */
@keyframes preloader-spin {
  0%,   12% { transform: rotate(45deg); }
  25%,  37% { transform: rotate(135deg); }
  50%,  62% { transform: rotate(225deg); }
  75%,  87% { transform: rotate(315deg); }
  100%      { transform: rotate(405deg); }
}

/* La couronne et le losange s'effacent au moment de la révélation. */
.site-preloader.is-revealing .site-preloader__bar {
  animation: preloader-bar-out 0.3s ease forwards;
}

@keyframes preloader-bar-out {
  to { opacity: 0; }
}

/* ==========================================================================
   Legal pages (mentions légales, politique de confidentialité)
   ========================================================================== */
.page--legal {
  background: var(--color-blue);
  color: var(--color-white);
  overflow-x: hidden;
}

.page--legal .site-header__logo img {
  filter: brightness(0) invert(1);
}

.legal-layout {
  min-height: 100vh;
  overflow-x: hidden;
}

.legal-content {
  padding: calc(var(--header-height) + 48px) var(--gutter) 72px;
  max-width: 780px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.6;
  text-align: left;
  box-sizing: border-box;
}

.legal-content h1 {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 35px;
  line-height: 1.2;
  color: var(--color-white);
  margin-bottom: 12px;
}

.legal-meta {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 32px;
}

.legal-content h2 {
  font-family: var(--font-main);
  font-size: 21px;
  font-weight: 600;
  color: var(--color-white);
  margin: 36px 0 12px;
}

.legal-content h3 {
  font-family: var(--font-main);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-white);
  margin: 20px 0 8px;
}

.legal-content p,
.legal-content li {
  margin-bottom: 12px;
}

.legal-content ul {
  padding-left: 1.25em;
}

.legal-content a {
  color: var(--color-white);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover,
.legal-content a:focus-visible {
  color: var(--color-accent);
}

.legal-content code {
  font-size: 13px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  padding: 1px 6px;
  border-radius: 3px;
  word-break: break-word;
}

.legal-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 16px 0 20px;
  max-width: 100%;
}

.legal-table-wrap::-webkit-scrollbar {
  height: 6px;
}

.legal-table-wrap::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
}

.legal-table-wrap::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.35);
  border-radius: 3px;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-size: 14px;
}

.legal-content th,
.legal-content td {
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  word-break: break-word;
  hyphens: auto;
}

.legal-content th {
  background: rgba(255, 255, 255, 0.1);
  font-weight: 600;
  color: var(--color-white);
}

.legal-cookie-btn {
  display: inline-block;
  margin-top: 4px;
  padding: 12px 20px;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-blue);
  background: var(--color-white);
  border: 1px solid var(--color-white);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.legal-cookie-btn:hover,
.legal-cookie-btn:focus-visible {
  background: transparent;
  color: var(--color-white);
}

.page--legal .panel--footer {
  height: auto;
  min-height: 100vh;
}

@media (max-width: 768px) {
  .legal-content h1 {
    font-size: 26px;
  }

  .legal-content {
    max-width: none;
    margin: 0;
    padding: calc(var(--header-height) + 32px) var(--gutter) 48px;
  }

  .legal-content table {
    font-size: 12px;
  }

  .legal-content th,
  .legal-content td {
    padding: 8px 10px;
    min-width: 88px;
  }

  .legal-table-wrap table {
    min-width: 540px;
  }
}

/* ==========================================================================
   Cookie consent banner & preferences panel
   ========================================================================== */
.cookie-consent[hidden] {
  display: none !important;
}

.cookie-consent__backdrop[hidden],
.cookie-consent__panel[hidden],
.cookie-consent__banner[hidden],
.cookie-consent__intro[hidden] {
  display: none !important;
}

body.cookie-consent--open {
  overflow: hidden;
}

.cookie-consent__backdrop {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0, 0, 0, 0.55);
  pointer-events: auto;
  animation: cookie-consent-backdrop-in 0.35s ease both;
}

@keyframes cookie-consent-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.cookie-consent__banner {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  transform: translate(-50%, -50%);
  width: 440px;
  max-width: calc(100vw - 48px);
  z-index: 9999;
  background: var(--color-white);
  border: 1px solid rgba(1, 48, 99, 0.1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  padding: 20px 22px;
  animation: cookie-banner-in 0.35s ease both;
}

/* Pendant l’intro : cookies seuls, sans bloc blanc */
.cookie-consent__banner.is-intro {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  animation: none;
}

.cookie-consent__banner.is-intro .cookie-consent__inner {
  visibility: hidden;
  pointer-events: none;
}

.cookie-consent__banner.is-intro .cookie-consent__intro {
  display: block;
}

.cookie-consent__intro {
  display: none;
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cookie-consent__intro-stage {
  position: absolute;
  inset: 0;
}

.cookie-consent__cookie {
  position: absolute;
  width: 48px;
  height: 48px;
  opacity: 0;
  filter: drop-shadow(0 4px 10px rgba(1, 48, 99, 0.18));
  --cookie-delay: 0s;
  transform: translate(-50%, -50%);
}

.cookie-consent__cookie--crown {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.cookie-consent__cookie-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.cookie-consent__intro.is-playing .cookie-consent__cookie {
  animation: cookie-pop 0.45s cubic-bezier(0.22, 1.2, 0.36, 1) var(--cookie-delay) both;
}

.cookie-consent__intro.is-done {
  animation: cookie-intro-out 0.22s ease forwards;
}

@keyframes cookie-pop {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.2) translateY(16px) rotate(-18deg);
  }
  70% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1) translateY(-4px) rotate(6deg);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) translateY(0) rotate(0deg);
  }
}

@keyframes cookie-intro-out {
  to {
    opacity: 0;
    transform: scale(0.92);
  }
}

@keyframes cookie-banner-in {
  from {
    opacity: 0;
    transform: translate(-50%, -46%) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent__backdrop,
  .cookie-consent__banner,
  .cookie-consent__intro,
  .cookie-consent__intro.is-playing .cookie-consent__cookie {
    animation: none !important;
  }
}

.cookie-consent__inner,
.cookie-consent__panel-inner {
  max-width: none;
  margin: 0;
}

.cookie-consent__banner .cookie-consent__title {
  font-size: 18px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cookie-consent__title-icon {
  display: inline-flex;
  width: 34px;
  height: 18px;
  flex-shrink: 0;
}

.cookie-consent__title-icon .cookie-consent__cookie-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 1px 2px rgba(1, 48, 99, 0.15));
}

.cookie-consent__banner .cookie-consent__text {
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 10px;
  color: rgba(67, 67, 67, 0.85);
}

.cookie-consent__banner .cookie-consent__link {
  font-size: 13px;
  margin-bottom: 14px;
}

.cookie-consent__banner .cookie-consent__actions {
  gap: 8px;
}

.cookie-consent__banner .cookie-consent__btn {
  font-size: 12px;
  padding: 9px 14px;
}

.cookie-consent__panel {
  position: fixed;
  z-index: 10000;
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  transform: translate(-50%, -50%);
  width: 360px;
  max-width: calc(100vw - 48px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  margin: 0;
  background: var(--color-white);
  border: 1px solid rgba(1, 48, 99, 0.1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  padding: 16px 18px;
}

.cookie-consent__panel .cookie-consent__title {
  font-size: 16px;
  margin-bottom: 6px;
}

.cookie-consent__panel .cookie-consent__text {
  font-size: 12px;
  line-height: 1.4;
  margin-bottom: 8px;
  color: rgba(67, 67, 67, 0.85);
}

.cookie-consent__panel .cookie-consent__category {
  padding: 10px 0;
}

.cookie-consent__panel .cookie-consent__category:first-of-type {
  padding-top: 4px;
  border-top: none;
}

.cookie-consent__panel .cookie-consent__category-title {
  font-size: 13px;
  margin-bottom: 2px;
}

.cookie-consent__panel .cookie-consent__badge {
  font-size: 9px;
  padding: 2px 5px;
}

.cookie-consent__panel .cookie-consent__category-head {
  margin-bottom: 6px;
  align-items: center;
  gap: 8px;
}

.cookie-consent__panel .cookie-consent__category-text {
  font-size: 11px;
  line-height: 1.4;
  margin: 0;
  color: rgba(67, 67, 67, 0.85);
}

.cookie-consent__panel .cookie-consent__toggle {
  font-size: 10px;
  gap: 5px;
}

.cookie-consent__panel .cookie-consent__toggle-ui {
  width: 32px;
  height: 18px;
  border-radius: 9px;
}

.cookie-consent__panel .cookie-consent__toggle-ui::after {
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
}

.cookie-consent__panel .cookie-consent__toggle input:checked + .cookie-consent__toggle-ui::after {
  transform: translateX(14px);
}

.cookie-consent__panel .cookie-consent__actions--panel {
  margin-top: 10px;
  gap: 6px;
}

.cookie-consent__panel .cookie-consent__btn {
  font-size: 11px;
  padding: 6px 10px;
}

.cookie-consent__title {
  font-family: var(--font-main);
  font-size: 22px;
  font-weight: 300;
  color: var(--color-blue);
  margin-bottom: 12px;
  line-height: 1.2;
}

.cookie-consent__text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-dark);
  margin-bottom: 12px;
}

.cookie-consent__link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-bottom: 20px;
}

.cookie-consent__link:hover,
.cookie-consent__link:focus-visible {
  color: var(--color-dark);
}

.cookie-consent__link--panel {
  display: inline-block;
  margin: 0 0 16px;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.cookie-consent__actions--panel {
  margin-top: 24px;
}

.cookie-consent__btn {
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  padding: 11px 18px;
  border: 1px solid var(--color-blue);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.cookie-consent__btn--primary {
  background: var(--color-blue);
  color: var(--color-white);
}

.cookie-consent__btn--primary:hover,
.cookie-consent__btn--primary:focus-visible {
  background: var(--color-white);
  color: var(--color-blue);
}

.cookie-consent__btn--ghost {
  background: var(--color-white);
  color: var(--color-blue);
}

.cookie-consent__btn--ghost:hover,
.cookie-consent__btn--ghost:focus-visible {
  background: rgba(1, 48, 99, 0.06);
}

.cookie-consent__category {
  padding: 16px 0;
  border-top: 1px solid rgba(67, 67, 67, 0.15);
}

.cookie-consent__category:first-of-type {
  border-top: none;
  padding-top: 8px;
}

.cookie-consent__category-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.cookie-consent__category-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-blue);
  margin-bottom: 4px;
}

.cookie-consent__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-blue);
  background: rgba(1, 48, 99, 0.08);
  padding: 3px 8px;
}

.cookie-consent__category-text {
  font-size: 13px;
  line-height: 1.45;
  color: var(--color-dark);
  margin: 0;
}

.cookie-consent__toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-dark);
}

.cookie-consent__toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-consent__toggle-ui {
  width: 40px;
  height: 22px;
  background: rgba(67, 67, 67, 0.25);
  border-radius: 11px;
  position: relative;
  transition: background 0.2s ease;
}

.cookie-consent__toggle-ui::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: var(--color-white);
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.cookie-consent__toggle input:checked + .cookie-consent__toggle-ui {
  background: var(--color-blue);
}

.cookie-consent__toggle input:checked + .cookie-consent__toggle-ui::after {
  transform: translateX(18px);
}

.cookie-consent__toggle input:focus-visible + .cookie-consent__toggle-ui {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .cookie-consent__banner {
    top: auto !important;
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    transform: none;
    width: auto;
    max-width: none;
    padding: 18px 16px;
    animation: cookie-banner-in-mobile 0.35s ease both;
  }

  .cookie-consent__banner .cookie-consent__title {
    font-size: 18px;
  }

  .cookie-consent__banner .cookie-consent__text {
    font-size: 13px;
  }

  .cookie-consent__banner .cookie-consent__btn {
    width: 100%;
    font-size: 13px;
    padding: 11px 14px;
  }

  .cookie-consent__title {
    font-size: 20px;
  }

  .cookie-consent__actions {
    flex-direction: column;
    align-items: stretch;
  }

  /* Sur mobile : Accepter en premier */
  .cookie-consent__banner .cookie-consent__actions .cookie-consent__btn[data-action="accept"],
  .cookie-consent__panel .cookie-consent__actions .cookie-consent__btn[data-action="accept"] {
    order: -1;
  }

  .cookie-consent__btn {
    width: 100%;
    text-align: center;
  }

  .cookie-consent__panel {
    top: auto;
    left: 12px;
    right: 12px;
    bottom: 12px;
    transform: none;
    width: auto;
    max-width: none;
    max-height: calc(100vh - 24px);
    padding: 18px 16px;
  }

  .cookie-consent__panel .cookie-consent__title {
    font-size: 18px;
  }

  .cookie-consent__panel .cookie-consent__btn {
    width: auto;
    flex: 1;
    text-align: center;
    font-size: 12px;
    padding: 10px 12px;
  }

  .cookie-consent__backdrop {
    background: rgba(0, 0, 0, 0.55);
  }
}

@keyframes cookie-banner-in-mobile {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Accès privé (phase de présentation)
   ========================================================================== */
.page--access {
  min-height: 100vh;
  background: var(--color-blue);
  color: var(--color-white);
}

.access-gate {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px var(--gutter);
}

.access-gate__card {
  width: 100%;
  max-width: 420px;
  text-align: center;
}

.access-gate__logo {
  display: block;
  width: 80px;
  height: auto;
  margin: 0 auto 28px;
}

.access-gate__eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.access-gate__title {
  margin: 0 0 16px;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-white);
}

.access-gate__lead {
  margin: 0 0 32px;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

.access-gate__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.access-gate__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.access-gate__field span {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.access-gate__field input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: var(--color-white);
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 300;
  outline: none;
}

.access-gate__field input:focus {
  border-color: var(--color-accent);
}

.access-gate__field input:-webkit-autofill,
.access-gate__field input:-webkit-autofill:hover,
.access-gate__field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--color-white);
  caret-color: var(--color-white);
  box-shadow: 0 0 0 1000px var(--color-blue) inset;
  transition: background-color 9999s ease-out;
}

.access-gate__error {
  margin: 0;
  min-height: 1.2em;
  font-size: 13px;
  color: var(--color-accent);
}

.access-gate__submit {
  margin-top: 8px;
  height: 48px;
  border: none;
  background: var(--color-accent);
  color: var(--color-white);
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.access-gate__submit:hover,
.access-gate__submit:focus-visible {
  background: var(--color-white);
  color: var(--color-blue);
}

.access-gate__submit:disabled {
  opacity: 0.6;
  cursor: wait;
}

@media (max-width: 768px) {
  .access-gate__title {
    font-size: 28px;
  }
}
