/* ==========================================================================
   Club Holidays — séjours glatt cacher : Pessah 2027 à Marrakech, ski aux 2 Alpes
   Site clair : fond blanc, or du logo, une teinte par séjour (sable pour Pessah, glacier pour le ski).
   Même principe que Lev's Travel et Niphla Events (texte / massonerie en alternance, formulaire à la fin),
   avec ses propres variantes : barre de navigation flottante en « capsule », massonerie à grande photo
   centrale encadrée de deux photos hautes, photo d'accueil dans un cadre arrondi (pas de bandeau sombre).
   Police : Lucida Bright partout (titres et texte). Elle est installée sur les ordinateurs Windows (avec Office) ;
   ailleurs, la police la plus proche disponible prend le relais (Charter sur iPhone et Mac, Georgia, sinon serif).
   ========================================================================== */

:root {
  color-scheme: light only;

  --white: #ffffff;
  --paper: #f7f6f2;      /* sections en alternance (accueil) */
  --paper-2: #eeebe3;
  --tint: var(--paper);  /* teinte de la page : redéfinie pour Pessah et pour le ski */
  --tint-2: var(--paper-2);
  --accent: #85600f;     /* surtitres : or foncé lisible sur blanc */

  --gold-1: #f2c95e;
  --gold-2: #dcaa36;     /* or du logo */
  --gold-3: #b9851b;
  --gold-ink: #85600f;

  --ink: #17140f;        /* texte principal (noir chaud du logo) */
  --ink-2: #57524a;
  --line: rgba(23, 20, 15, .10);
  --line-strong: rgba(23, 20, 15, .22);
  --danger: #b42318;
  --success: #1f7a4d;
  --ring: #b9851b;

  --font: "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, Charter, "Bitstream Charter", "DejaVu Serif", Georgia, serif;
  --font-title: var(--font);
  --font-text: var(--font);

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --container: 1240px;
  --section-y: clamp(4rem, 9vw, 7.5rem);
  --nav-top: calc(env(safe-area-inset-top) + 12px);
  --nav-h: 60px;

  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 30px; --r-pill: 999px;
  --shadow-1: 0 1px 2px rgba(23, 20, 15, .04), 0 6px 20px rgba(23, 20, 15, .05);
  --shadow-2: 0 2px 6px rgba(23, 20, 15, .06), 0 14px 36px rgba(23, 20, 15, .09);
  --shadow-3: 0 8px 20px rgba(23, 20, 15, .08), 0 30px 60px rgba(23, 20, 15, .13);

  /* ressort sans rebond (amorti critique), courbes communes à tout le site */
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.32, .72, 0, 1);
  --t-fast: 140ms; --t-base: 260ms;

  --z-nav: 50; --z-bar: 60; --z-sheet: 80;
}
@media (min-width: 960px) { :root { --nav-h: 66px; } }

/* Teinte de chaque séjour */
.page-pessah { --tint: #f8f1e7; --tint-2: #efe2cf; --accent: #9b4f24; }
.page-ski    { --tint: #eef4f9; --tint-2: #dce8f2; --accent: #1f5a82; }

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-top) + var(--nav-h) + 16px); background: var(--white); }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font-text);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 12px; top: 12px; z-index: 200; padding: 10px 16px; border-radius: var(--r-pill); background: var(--ink); color: #fff; text-decoration: none; transform: translateY(-160%); transition: transform var(--t-base) var(--ease-out); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; border-radius: 8px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.ic { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* --------------------------------------------------------------------------
   Typographie
   -------------------------------------------------------------------------- */
.eyebrow { display: inline-block; font: 500 .8125rem/1.2 var(--font-text); letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.title-xl { font: 400 clamp(2.6rem, 5.4vw, 4.6rem)/1.02 var(--font-title); letter-spacing: -0.015em; text-wrap: balance; }
.title { font: 400 clamp(2rem, 3.4vw, 3rem)/1.08 var(--font-title); letter-spacing: -0.008em; text-wrap: balance; color: var(--ink); }
.title--card { font-size: clamp(1.75rem, 2.6vw, 2.35rem); line-height: 1.08; }
/* Sans JavaScript : petite compensation du retrait des capitales. Avec JavaScript, chaque ligne est alignée au pixel (main.js). */
.no-js .title-xl, .no-js .title { text-indent: -0.05em; }
@media (max-width: 374px) {
  .title-xl { font-size: 2.3rem; }
  .eyebrow { letter-spacing: .14em; }
}
.w { display: inline; }
/* Lignes en gras : toutes sauf la dernière (calculé dans main.js) — Lucida Bright Demibold */
.w.is-bold { font-weight: 600; }
.title strong, .title-xl strong { font-weight: inherit; }
.text { font-size: clamp(1.0625rem, 1.35vw, 1.1875rem); line-height: 1.6; color: var(--ink-2); max-width: 42ch; }
.text strong { font-weight: 500; color: var(--ink); }
.nowrap { white-space: nowrap; }

/* --------------------------------------------------------------------------
   Boutons (retour visuel dès l'appui)
   -------------------------------------------------------------------------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 1.6rem; border: 0; border-radius: var(--r-pill);
  background: var(--bg); color: var(--fg); font: 500 1rem/1.2 var(--font-text); letter-spacing: .02em;
  text-decoration: none; text-align: center; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-base) var(--ease-out), filter var(--t-base) var(--ease-out), background-color var(--t-base) var(--ease-out);
}
.btn:active { transform: scale(.97); transition-duration: 80ms; }
/* Or du logo : dégradé doux, reflet clair en haut */
.btn--gold {
  --fg: #1b1406;
  background: linear-gradient(180deg, var(--gold-1) 0%, var(--gold-2) 55%, var(--gold-3) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 1px 2px rgba(120, 80, 10, .22), 0 6px 16px -6px rgba(150, 100, 15, .45);
}
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn--sm { min-height: 44px; padding: 0 1.15rem; font-size: .9375rem; }
@media (hover: hover) {
  .btn--gold:hover { filter: brightness(1.05) saturate(1.05); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 2px 4px rgba(120, 80, 10, .2), 0 12px 26px -8px rgba(150, 100, 15, .5); }
  .btn--ghost:hover { --bg: rgba(23, 20, 15, .04); box-shadow: inset 0 0 0 1.5px var(--ink); }
}
.btn .ic { width: 18px; height: 18px; transition: transform var(--t-base) var(--ease-spring); }
@media (hover: hover) { .btn:hover .ic-arrow { transform: translateX(3px); } }

/* --------------------------------------------------------------------------
   Barre de navigation : capsule flottante, translucide (le contenu défile dessous)
   -------------------------------------------------------------------------- */
.nav { position: fixed; top: var(--nav-top); left: 0; right: 0; z-index: var(--z-nav); pointer-events: none; }
.nav__bar {
  pointer-events: auto; position: relative; width: min(100% - 24px, 1180px); height: var(--nav-h); margin-inline: auto;
  display: flex; align-items: center; gap: .75rem; padding: 0 8px 0 20px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .74); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 0 0 1px rgba(23, 20, 15, .05), 0 8px 28px rgba(23, 20, 15, .08);
  transition: background-color var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
}
.nav.is-scrolled .nav__bar { background: rgba(255, 255, 255, .88); box-shadow: 0 0 0 1px rgba(23, 20, 15, .06), 0 10px 34px rgba(23, 20, 15, .12); }
.nav__logo { display: inline-flex; align-items: center; min-height: 44px; flex: none; }
.nav__logo img { width: 158px; }
.nav__links { display: none; }
.nav__cta { display: none; }
.menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-left: auto; border: 0; border-radius: 50%; background: transparent; color: var(--ink); -webkit-tap-highlight-color: transparent; transition: transform var(--t-fast) var(--ease-out), background-color var(--t-fast); }
.menu-btn:active { transform: scale(.92); background: rgba(23, 20, 15, .07); }
.menu-btn .ic { width: 24px; height: 24px; }
@media (min-width: 960px) {
  /* le logo tombe exactement sur le bord gauche du contenu */
  .nav__bar { width: calc(min(100% - 2 * var(--gutter), var(--container)) + 52px); padding: 0 9px 0 26px; gap: 1rem; }
  .nav__logo img { width: 186px; }
  .nav__links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
  .nav__links a {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border-radius: var(--r-pill);
    font-size: .9688rem; font-weight: 500; letter-spacing: .01em; text-decoration: none; color: var(--ink-2);
    transition: background-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out);
  }
  .nav__links a:hover { color: var(--ink); background: rgba(23, 20, 15, .05); }
  .nav__links a[aria-current="page"] { color: var(--ink); background: rgba(23, 20, 15, .07); }
  .nav__cta { display: inline-flex; }
  .nav .menu-btn { display: none; }
}

/* Menu plein écran (téléphone) : feuille claire qui descend de la capsule */
.sheet {
  position: fixed; inset: 0; z-index: var(--z-sheet); display: grid; grid-template-rows: auto 1fr auto; overflow-y: auto; overscroll-behavior: contain;
  padding: calc(env(safe-area-inset-top) + 12px) var(--gutter) calc(env(safe-area-inset-bottom) + 24px);
  background: rgba(255, 255, 255, .97); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); color: var(--ink);
  opacity: 0; visibility: hidden; transform: translateY(-12px); transform-origin: top center;
  transition: opacity 200ms var(--ease-out), transform 300ms var(--ease-spring), visibility 0s linear 200ms;
}
.sheet.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity var(--t-base) var(--ease-out), transform 420ms var(--ease-spring), visibility 0s; }
.sheet__top { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); padding-left: 8px; }
.sheet__top img { width: 158px; }
.sheet nav { margin-top: 1.25rem; align-self: start; }
.sheet nav a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; border-bottom: 1px solid var(--line); font: 400 1.75rem/1.1 var(--font-title); text-decoration: none; }
.sheet nav a small { font: 400 .9375rem/1.2 var(--font-text); color: var(--ink-2); }
.sheet nav a[aria-current="page"] { color: var(--accent); }
.sheet .btn { width: 100%; }
@media (min-width: 960px) { .sheet { display: none; } }

/* --------------------------------------------------------------------------
   Accueil du site : en-tête + les deux séjours
   -------------------------------------------------------------------------- */
.home-hero { padding: calc(var(--nav-top) + var(--nav-h) + clamp(2.25rem, 6vw, 4.5rem)) 0 clamp(3.5rem, 8vw, 6.5rem); }
.home-hero__head { display: grid; gap: 1.15rem; justify-items: start; max-width: 780px; margin-bottom: clamp(2rem, 4.5vw, 3.25rem); }

.trips { display: grid; gap: clamp(1rem, 2.4vw, 1.75rem); }
@media (min-width: 700px) { .trips { grid-template-columns: 1fr 1fr; } }
.trip {
  display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: var(--r-xl);
  background: var(--white); color: inherit; text-decoration: none; box-shadow: 0 0 0 1px var(--line), var(--shadow-1);
  -webkit-tap-highlight-color: transparent;
  transition: transform 420ms var(--ease-spring), box-shadow var(--t-base) var(--ease-out);
}
.trip:active { transform: scale(.985); transition-duration: 120ms; }
.trip__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.trip__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-spring); }
.trip__tag {
  position: absolute; left: 14px; top: 14px; padding: .45rem .85rem; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font: 500 .8125rem/1.2 var(--font-text); letter-spacing: .04em; color: var(--ink);
}
.trip__body { display: grid; gap: .7rem; align-content: start; justify-items: start; padding: clamp(1.4rem, 2.8vw, 2rem); }
.trip .title--card { display: block; }
.trip__meta { color: var(--ink-2); font-size: 1.0625rem; }
.trip__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem; width: 100%; margin-top: .5rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.price { color: var(--ink-2); font-size: .9375rem; }
.price b { font: 400 1.6rem/1 var(--font-title); color: var(--ink); margin: 0 .15em; }
.trip__go { display: inline-flex; align-items: center; gap: .5rem; min-height: 46px; padding: 0 1.2rem; border-radius: var(--r-pill); background: var(--ink); color: #fff; font-weight: 500; font-size: .9688rem; }
.trip__go .ic { width: 18px; height: 18px; transition: transform var(--t-base) var(--ease-spring); }
@media (hover: hover) {
  .trip:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), var(--shadow-3); }
  .trip:hover .trip__media img { transform: scale(1.045); }
  .trip:hover .trip__go .ic { transform: translateX(3px); }
}

/* --------------------------------------------------------------------------
   Accueil d'un séjour : texte à gauche, grande photo arrondie à droite (pas de bandeau sombre)
   -------------------------------------------------------------------------- */
.hero { padding: calc(var(--nav-top) + var(--nav-h) + clamp(1.25rem, 4vw, 3rem)) 0 clamp(3.5rem, 8vw, 6.5rem); }
.hero__grid { display: grid; gap: clamp(1.75rem, 4vw, 4.5rem); align-items: center; }
.hero__grid > * { min-width: 0; }
.hero__text { display: grid; gap: 1.25rem; justify-items: start; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .35rem; }
.hero__media { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--tint-2); aspect-ratio: 5 / 4; isolation: isolate; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: drift 18s ease-in-out infinite alternate; }
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 5fr 7fr; }
  .hero__media { aspect-ratio: auto; height: min(76vh, 740px); min-height: 500px; }
}
@media (max-width: 959px) {
  .hero__media { order: -1; }
  .hero__ctas .btn { flex: 1 1 auto; }
}
@media (min-width: 600px) and (max-width: 959px) { .hero__media { aspect-ratio: 16 / 10; } }
/* Téléphone couché (écran bas) : texte à gauche, photo à droite, à la hauteur de l'écran */
@media (min-width: 600px) and (max-width: 959px) and (max-height: 520px) and (orientation: landscape) {
  .hero__grid { grid-template-columns: 1fr 1fr; align-items: start; gap: 1.5rem; }
  .hero__media { order: 0; aspect-ratio: auto; height: calc(100svh - var(--nav-top) - var(--nav-h) - 32px); min-height: 240px; position: sticky; top: calc(var(--nav-top) + var(--nav-h) + 16px); }
  .hero .title-xl { font-size: 2.4rem; }
  .hero__ctas .btn { flex: 1 1 100%; }
}

/* Fiche du séjour : libellé à gauche, valeur à droite */
.facts { width: 100%; max-width: 520px; border-top: 1px solid var(--line); }
.facts > div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.facts dt { font: 500 .75rem/1.4 var(--font-text); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); flex: none; }
.facts dd { font-weight: 500; color: var(--ink); text-align: right; }

/* --------------------------------------------------------------------------
   Sections : texte / massonerie en alternance
   -------------------------------------------------------------------------- */
.section { padding-block: var(--section-y); }
.section--tint { background: var(--tint); }
.row { display: grid; gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
.row > * { min-width: 0; }
.row__text { display: grid; gap: 1.25rem; align-content: center; justify-items: start; }
@media (min-width: 960px) {
  .row { grid-template-columns: 4fr 7fr; }
  .row--reverse { grid-template-columns: 7fr 4fr; }
  .row--reverse .row__text { order: 2; }
}

/* Massonerie Club Holidays : toujours la même forme, dans le même sens —
   grande photo au centre, encadrée par deux photos hautes
   [ p ][  grande  ][ h ]
   [ h ][  grande  ][ h ]
   [ h ][ p ][  large   ]   */
.masonry {
  display: grid; gap: 10px; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(110px, 10.5vw, 190px);
  grid-template-areas: "b a a c" "d a a c" "d e f f";
}
.masonry > :nth-child(1) { grid-area: a; }
.masonry > :nth-child(2) { grid-area: b; }
.masonry > :nth-child(3) { grid-area: c; }
.masonry > :nth-child(4) { grid-area: d; }
.masonry > :nth-child(5) { grid-area: e; }
.masonry > :nth-child(6) { grid-area: f; }
/* Téléphone : bloc carré et compact de la largeur de l'écran, photos carrées
   [ p ][ p ][ p ]
   [ grande ][ p ]
   [ grande ][ p ]   */
@media (max-width: 699px) {
  .masonry {
    grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); grid-auto-rows: auto;
    grid-template-areas: "b c d" "a a e" "a a f";
    aspect-ratio: 1 / 1; gap: 6px;
  }
  .masonry .tile { border-radius: 12px; }
}

.tile {
  position: relative; overflow: hidden; padding: 0; border: 0; border-radius: var(--r-md);
  background: var(--tint-2); cursor: zoom-in; -webkit-tap-highlight-color: transparent;
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-spring); }
@media (hover: hover) { .tile:hover img { transform: scale(1.04); } }
.tile:active img { transform: scale(1.01); transition-duration: 120ms; }

/* Grande photo : diaporama automatique (fondu entre les photos, calculé dans main.js) */
.tile.is-slideshow img { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease, transform 900ms var(--ease-spring); }
.tile.is-slideshow img.is-current { opacity: 1; }

/* Grande photo (et photo d'accueil) : bouge en continu, lentement, même sans la toucher */
.masonry > .tile:first-child img { animation: drift 16s ease-in-out infinite alternate; animation-play-state: paused; will-change: transform; }
.masonry.is-live > .tile:first-child img { animation-play-state: running; }
.no-js .masonry > .tile:first-child img { animation-play-state: running; }
@keyframes drift {
  0%   { transform: scale(1.04) translate3d(1.5%, 1%, 0); }
  100% { transform: scale(1.15) translate3d(-2%, -1.5%, 0); }
}

/* --------------------------------------------------------------------------
   Tarifs et contenu du séjour : deux panneaux blancs sur la teinte du séjour
   -------------------------------------------------------------------------- */
.info__grid { display: grid; gap: clamp(1rem, 2.4vw, 1.5rem); align-items: start; }
.info__grid > * { min-width: 0; }
@media (min-width: 900px) { .info__grid { grid-template-columns: 1fr 1fr; } }
/* Sur fond blanc, les panneaux et la carte du formulaire prennent la teinte du séjour ;
   sur une section teintée, ils sont blancs. */
.panel { display: grid; gap: 1.1rem; align-content: start; justify-items: start; padding: clamp(1.5rem, 3.6vw, 2.6rem); border-radius: var(--r-lg); background: var(--tint); }
.section--tint .panel { background: var(--white); box-shadow: 0 0 0 1px var(--line), var(--shadow-1); }
.prices { width: 100%; border-top: 1px solid var(--line); }
.prices > div { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.prices dt { font-weight: 500; color: var(--ink); line-height: 1.35; }
.prices dt small { display: block; margin-top: .15rem; font-size: .875rem; font-weight: 400; color: var(--ink-2); }
.prices dd { font: 400 clamp(1.6rem, 2.4vw, 1.9rem)/1 var(--font-title); white-space: nowrap; color: var(--ink); }
.extras { display: grid; gap: .35rem; width: 100%; padding: .9rem 1rem; border-radius: 14px; background: var(--white); font-size: .9688rem; color: var(--ink); }
.section--tint .extras { background: var(--tint); }
.extras li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 1rem; }
.extras b { font-weight: 500; white-space: nowrap; }
.note { font-size: .9375rem; line-height: 1.55; color: var(--ink-2); }
.checks { display: grid; gap: .85rem; width: 100%; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: .8rem; align-items: start; line-height: 1.5; color: var(--ink); }
.checks .ic { width: 20px; height: 20px; margin-top: .15em; color: var(--accent); stroke-width: 2; }

/* --------------------------------------------------------------------------
   Formulaire (simple) : carte blanche centrée sur la teinte du séjour
   -------------------------------------------------------------------------- */
.contact__inner { display: grid; justify-items: center; gap: clamp(2rem, 4vw, 2.75rem); }
.contact__head { display: grid; gap: 1rem; justify-items: center; text-align: center; max-width: 640px; }
.contact__head .text { margin-inline: auto; max-width: 46ch; }

.form-card { width: 100%; max-width: 720px; background: var(--tint); color: var(--ink); border-radius: var(--r-xl); padding: clamp(1.5rem, 4.5vw, 3rem); }
.section--tint .form-card { background: var(--white); box-shadow: 0 0 0 1px var(--line), 0 30px 70px -34px rgba(23, 20, 15, .3); }
.form { display: grid; gap: 1.25rem; }
.form-fields { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .form-fields { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.field--pair { grid-template-columns: 1fr 1fr; gap: .75rem; }
.field label, .field legend { padding: 0; font-weight: 500; font-size: .875rem; letter-spacing: .02em; }
.req { color: var(--danger); margin-left: 2px; }
.opt { color: var(--ink-2); font-weight: 400; font-size: .8125rem; }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: .75rem 1rem; border-radius: 14px;
  border: 1.5px solid var(--line); background-color: #fff; color: var(--ink); font-size: 1rem; line-height: 1.4;
  -webkit-appearance: none; appearance: none;
  transition: border-color var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out), background-color var(--t-fast);
}
.section--tint .input, .section--tint .select, .section--tint .textarea { background-color: #f4f2ed; border-color: transparent; }
.input::placeholder, .textarea::placeholder { color: #8d877d; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--line-strong); }
.input:focus, .select:focus, .textarea:focus { outline: none; background-color: #fff; border-color: var(--gold-3); box-shadow: 0 0 0 4px rgba(220, 170, 54, .2); }
.textarea { min-height: 96px; resize: vertical; }
.select { padding-right: 2.75rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2317140f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.field.has-error .input, .field.has-error .select { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(180, 35, 24, .1); }
.error { display: none; font-size: .8125rem; color: var(--danger); line-height: 1.35; }
.field.has-error .error { display: block; }
.error__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .55rem; }
.error__btn { min-height: 40px; padding: .5rem .95rem; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: .875rem; font-weight: 600; line-height: 1.2; cursor: pointer; }
.error__btn:hover { border-color: var(--ink); }
.error__btn:first-child { border-color: var(--ink); background: var(--ink); color: #fff; }
.error__btn:first-child:hover { opacity: .9; }
.error__btn:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }

.consent { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; align-items: start; font-size: .875rem; color: var(--ink-2); line-height: 1.5; font-weight: 400 !important; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--gold-3); cursor: pointer; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-alert { display: none; padding: .85rem 1rem; border-radius: 12px; background: #fdecea; color: #7a1a12; font-size: .9375rem; line-height: 1.45; }
.form-alert.is-visible { display: block; }
.form-submit { width: 100%; min-height: 58px; font-size: 1.0625rem; margin-top: .25rem; }
.form-note { text-align: center; font-size: .875rem; color: var(--ink-2); letter-spacing: .02em; margin-top: -.25rem; }
.btn .spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(27, 20, 6, .25); border-top-color: currentColor; animation: spin 800ms linear infinite; }
.btn.is-loading .spinner { display: inline-block; }
.btn.is-loading { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }

.success { display: grid; gap: 1rem; justify-items: center; text-align: center; padding: 2rem 0; }
.success:focus { outline: none; }
.success__check { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: rgba(31, 122, 77, .1); color: var(--success); animation: pop 520ms var(--ease-spring) both; }
.success__check .ic { width: 36px; height: 36px; stroke-width: 2.5; }
.success h3 { font: 400 2rem/1.1 var(--font-title); }
.success p { color: var(--ink-2); max-width: 40ch; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }

/* --------------------------------------------------------------------------
   L'autre séjour (bas de page)
   -------------------------------------------------------------------------- */
.other { padding-block: clamp(3rem, 6vw, 4.5rem); }
.other__link {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(1rem, 3vw, 2rem);
  padding: 12px clamp(14px, 2.5vw, 22px) 12px 12px; border-radius: var(--r-xl); background: var(--white);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-1); color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent;
  transition: transform 420ms var(--ease-spring), box-shadow var(--t-base) var(--ease-out);
}
.other__link:active { transform: scale(.985); transition-duration: 120ms; }
.other__img { width: clamp(96px, 22vw, 220px); aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: var(--paper-2); }
.other__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-spring); }
.other__text { display: grid; gap: .3rem; min-width: 0; }
.other__title { font: 400 clamp(1.4rem, 3vw, 2.1rem)/1.1 var(--font-title); }
.other__meta { color: var(--ink-2); font-size: .9688rem; }
.other__go { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; }
.other__go .ic { width: 20px; height: 20px; transition: transform var(--t-base) var(--ease-spring); }
@media (hover: hover) {
  .other__link:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--line), var(--shadow-2); }
  .other__link:hover .other__img img { transform: scale(1.05); }
  .other__link:hover .other__go .ic { transform: translateX(3px); }
}
@media (max-width: 559px) {
  .other__link { grid-template-columns: auto 1fr; }
  .other__go { display: none; }
  .other .eyebrow { font-size: .75rem; letter-spacing: .16em; }
}

/* --------------------------------------------------------------------------
   Pied de page (blanc)
   -------------------------------------------------------------------------- */
.footer { background: var(--white); color: var(--ink-2); padding: 2.75rem 0 calc(2rem + env(safe-area-inset-bottom)); font-size: .9375rem; border-top: 1px solid var(--line); }
.footer .container { display: grid; justify-items: center; gap: .9rem; text-align: center; }
.footer__logo { display: inline-flex; align-items: center; min-height: 44px; }
.footer__logo img { width: 150px; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1.25rem; }
.footer__links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ink); }
.footer__links a:hover { text-decoration: underline; }
.footer__credit { font-size: .8125rem; letter-spacing: .06em; }
.footer__credit a { display: inline-block; padding: 12px 6px; margin: -12px -6px; color: var(--gold-ink); text-decoration: none; font-weight: 500; letter-spacing: .1em; }
.footer__credit a:hover { text-decoration: underline; }
/* place pour la barre « Demander un devis » (pages Pessah et Ski seulement) */
@media (max-width: 959px) { .page-pessah .footer, .page-ski .footer { padding-bottom: calc(6.5rem + env(safe-area-inset-bottom)); } }

/* Barre d'action (téléphone) */
.action-bar {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: var(--z-bar);
  display: grid; padding: 8px; border-radius: 24px;
  background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
  box-shadow: 0 0 0 1px rgba(23, 20, 15, .06), 0 10px 30px rgba(23, 20, 15, .16);
  transform: translateY(calc(100% + 24px)); opacity: 0; transition: transform 460ms var(--ease-spring), opacity var(--t-base) var(--ease-out);
}
.action-bar.is-visible { transform: none; opacity: 1; }
.action-bar .btn { width: 100%; min-height: 52px; }
@media (min-width: 960px) { .action-bar { display: none; } }

/* --------------------------------------------------------------------------
   Visionneuse photo (façon story), sur fond clair
   -------------------------------------------------------------------------- */
.lightbox { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--ink); overflow: hidden; }
.lightbox::backdrop { background: rgba(250, 249, 246, .96); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; animation: fade var(--t-base) var(--ease-out); }
@keyframes fade { from { opacity: 0; } }
.lightbox__top { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: calc(env(safe-area-inset-top) + 12px) 14px 8px 20px; transition: opacity var(--t-base) var(--ease-out); }
.lightbox__bars { display: flex; gap: 4px; max-width: 760px; width: 100%; justify-self: center; }
.lb-bar { flex: 1; height: 3px; border-radius: 3px; background: rgba(23, 20, 15, .14); overflow: hidden; }
.lb-bar > i { display: block; width: 100%; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.lb-bar.is-done > i { transform: scaleX(1); }
.lb-bar.is-active > i { animation: lb-progress var(--lb-dur, 5s) linear forwards; }
.lightbox.is-paused .lb-bar.is-active > i { animation-play-state: paused; }
@keyframes lb-progress { to { transform: scaleX(1); } }
.lightbox.is-paused .lightbox__top, .lightbox.is-paused .lightbox__nav { opacity: 0; }
.lightbox__hint {
  justify-self: center; margin: 0 0 calc(env(safe-area-inset-bottom) + 18px); padding: .5rem 1rem; border-radius: var(--r-pill);
  background: var(--ink); color: #fff; font-size: .875rem; letter-spacing: .02em;
  opacity: 0; transform: translateY(8px); transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-spring);
}
.lightbox__hint.is-visible { opacity: 1; transform: none; }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 12px; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; cursor: pointer; }
.lightbox__stage img {
  max-width: min(100%, 1400px); max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px);
  width: auto; height: auto; object-fit: contain; border-radius: 16px; box-shadow: var(--shadow-3); animation: zoom-in 380ms var(--ease-spring);
}
@keyframes zoom-in { from { transform: scale(.94); opacity: 0; } }
.icon-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--line), var(--shadow-1); transition: background-color var(--t-fast), transform var(--t-fast) var(--ease-out); }
.icon-btn:hover { background: #f4f2ed; }
.icon-btn:active { transform: scale(.92); }
.lightbox__nav { position: absolute; top: 50%; translate: 0 -50%; z-index: 2; transition: opacity var(--t-base) var(--ease-out), background-color var(--t-fast), transform var(--t-fast) var(--ease-out); }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }
@media (max-width: 759px) { .lightbox__nav { display: none; } }

/* --------------------------------------------------------------------------
   Apparition au défilement
   -------------------------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 650ms var(--ease-out), transform 850ms var(--ease-spring); transition-delay: calc(var(--i, 0) * 55ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Accessibilité
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .hero__media img, .masonry > .tile:first-child img { animation: none; transform: none; }
  .js [data-reveal] { transform: none; }
  .tile:hover img, .trip:hover .trip__media img { transform: none; }
  .trip:hover, .other__link:hover { transform: none; }
  /* la barre de la story sert de minuterie : elle garde sa vraie durée */
  .lb-bar.is-active > i { animation-duration: var(--lb-dur, 5s) !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav__bar, .action-bar, .sheet, .trip__tag { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --line: rgba(23, 20, 15, .35); --line-strong: rgba(23, 20, 15, .6); --ink-2: #3f3a33; }
}

/* --------------------------------------------------------------------------
   Protection du contenu (dissuasion : copie, enregistrement des images, captures)
   -------------------------------------------------------------------------- */
body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
input, textarea, select { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }
img { -webkit-user-drag: none; user-drag: none; }
html.is-shielded body::after {
  content: "Contenu protégé — Club Holidays"; position: fixed; inset: 0; z-index: 10000;
  display: grid; place-items: center; background: #fff; color: var(--gold-ink);
  font: 400 clamp(1.25rem, 3vw, 2rem)/1.2 var(--font-title); letter-spacing: .02em;
}
html.is-shielded .lightbox { visibility: hidden; }
@media print {
  body * { display: none !important; }
  body::after { content: "L'impression de ce site n'est pas autorisée."; display: block; padding: 2rem; font: 16px/1.5 sans-serif; color: #000; }
}

/* Voyageurs : adultes, enfants, bébés (pleine largeur) */
.field--trio { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
@media (min-width: 560px) { .form-fields .field--trio, .form-fields [data-field="email"] { grid-column: 1 / -1; } }

/* --------------------------------------------------------------------------
   Réglés dans l'espace de gestion (même fonctionnement que Club Ness One et Niphla) :
   « Nous écrire », appel, options du formulaire, vidéos, Instagram
   -------------------------------------------------------------------------- */
/* Menu du téléphone : devis, appeler, écrire */
.sheet__actions { display: grid; gap: .6rem; align-self: end; }
.sheet__actions .btn .ic { width: 18px; height: 18px; }

/* Formulaire : appeler / écrire, sous le titre */
.contact__liens { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: .25rem; }
.lien-rond { display: inline-flex; align-items: center; gap: .55rem; min-height: 46px; padding: 0 1.1rem; border-radius: var(--r-pill); background: var(--white); color: var(--ink); font-size: .9375rem; text-decoration: none; box-shadow: inset 0 0 0 1.5px var(--line-strong); transition: background-color var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out); -webkit-tap-highlight-color: transparent; }
.lien-rond:hover { background: var(--paper); }
.lien-rond:active { transform: scale(.97); }
.lien-rond .ic { width: 18px; height: 18px; color: var(--accent); }

/* Options proposées dans le formulaire (réglées dans l'espace de gestion) */
.options-site { display: grid; gap: .6rem; margin: 0; padding: 0; border: 0; }
.options-site legend { margin-bottom: .4rem; padding: 0; font-weight: 500; font-size: .875rem; letter-spacing: .02em; }

/* Barre d'action du téléphone : écrire (et appeler) + devis */
.action-bar { grid-template-columns: auto 1fr; gap: 8px; }
.action-bar--3 { grid-template-columns: auto auto 1fr; }
.action-bar .ab-rond { display: inline-grid; place-items: center; width: 52px; min-height: 52px; border-radius: 16px; background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; -webkit-tap-highlight-color: transparent; transition: transform var(--t-fast) var(--ease-out); }
.action-bar .ab-rond:active { transform: scale(.95); }
.action-bar .ab-rond .ic { width: 22px; height: 22px; }

/* Vidéos (accueil) : lecteur chargé seulement au clic */
.videos__tete { display: grid; gap: 1rem; justify-items: start; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.videos__grille { display: grid; gap: clamp(.75rem, 1.5vw, 1.25rem); grid-template-columns: 1fr; }
@media (min-width: 640px) { .videos__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } .videos__grille[data-n="1"] { grid-template-columns: minmax(0, 860px); } }
@media (min-width: 1000px) { .videos__grille[data-n="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; overflow: hidden; border: 0; border-radius: var(--r-md); background: var(--ink); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-spring); }
.video:hover img { transform: scale(1.04); }
.video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 20, 15, 0) 45%, rgba(23, 20, 15, .72)); }
.video__lecture { position: absolute; left: 50%; top: 50%; z-index: 1; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: linear-gradient(180deg, var(--gold-1), var(--gold-2)); box-shadow: 0 10px 30px rgba(23, 20, 15, .3); transition: transform var(--t-base) var(--ease-spring); }
.video__lecture::before { content: ""; position: absolute; left: 26px; top: 21px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent var(--ink); }
.video:hover .video__lecture { transform: scale(1.08); }
.video:active .video__lecture { transform: scale(.94); }
.video__titre { position: absolute; left: 1rem; right: 1rem; bottom: .9rem; z-index: 1; color: #fff; font-size: 1.0625rem; line-height: 1.25; text-align: left; }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video video { object-fit: contain; background: #000; }
.video.is-lecture { cursor: default; background: #000; }
.video.is-lecture::after { content: none; }

/* Instagram (accueil) : dernières publications du compte */
.insta { border-top: 1px solid var(--line); }
.insta__tete { display: grid; gap: 1rem; justify-items: start; margin-bottom: .9rem; }
.insta__compte { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; margin-bottom: 1.25rem; color: var(--gold-ink); font-weight: 500; text-decoration: none; }
.insta__compte svg { width: 20px; height: 20px; }
.insta__grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(4px, 1vw, 12px); }
@media (min-width: 1000px) { .insta__grille { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.insta__post { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; overflow: hidden; border: 0; border-radius: clamp(6px, 1vw, var(--r-md)); background: var(--paper-2); cursor: zoom-in; }
.insta__post img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-spring); }
.insta__post:hover img { transform: scale(1.04); }
.insta__icone { position: absolute; top: 8px; right: 8px; z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(23, 20, 15, .5); color: #fff; }
.insta__icone svg { width: 18px; height: 18px; }
.insta__suivre { margin-top: 1.75rem; text-align: center; }
.insta-video { position: fixed; inset: 0; z-index: 91; display: grid; place-items: center; padding: 70px 12px 20px; background: rgba(250, 249, 246, .96); opacity: 0; transition: opacity .25s; }
.insta-video.is-ouvert { opacity: 1; }
.insta-video__fermer { position: absolute; top: calc(env(safe-area-inset-top) + 12px); right: 14px; }
.insta-video__cadre { width: min(100%, 440px); height: min(100%, 780px); overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-3); }
.insta-video__cadre iframe { display: block; width: 100%; height: 100%; border: 0; }

/* Fenêtre « Nous écrire » (formulaire de contact chargé dans une iframe) */
.fenetre { position: fixed; inset: 0; z-index: 92; display: grid; place-items: center; padding: 16px; background: rgba(23, 20, 15, .4); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s; }
.fenetre.is-ouvert { opacity: 1; }
.fenetre__boite { position: relative; width: min(100%, 600px); height: min(100%, 740px); overflow: hidden; border-radius: var(--r-xl); background: var(--white); box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .4); transform: translateY(18px) scale(.97); transition: transform 420ms var(--ease-spring); }
.fenetre.is-ouvert .fenetre__boite { transform: none; }
.fenetre__cadre, .fenetre__cadre iframe { display: block; width: 100%; height: 100%; border: 0; }
.fenetre__fermer { position: absolute; top: 12px; right: 12px; z-index: 1; }
@media (max-width: 599px) { .fenetre { padding: 0; align-items: end; } .fenetre__boite { width: 100%; height: 92vh; height: 92svh; border-radius: 24px 24px 0 0; transform: translateY(40px); } }
@media (prefers-reduced-transparency: reduce) { .fenetre { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(23, 20, 15, .6); } }
