/* ==========================================================================
   Husky Évasion — « Nuit polaire »
   Des sections de nuit (ciel, aurore, neige qui tombe, crêtes) alternent avec
   des sections neige. Une seule famille : Archivo, élargie pour les titres.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations"), url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2-variations"), url("../fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --night: #0e2238;
  --night-2: #13304d;
  --dusk: #1e4268;
  --ridge: #2a5580;
  --ice: #bfe3f5;
  --ice-2: #8fc6e3;
  --snow: #f4f8fb;
  --frost: #e2ecf3;
  --line: #cfdde8;
  --ink: #0e2238;
  --muted: #4b6075;
  --glow: #ff7a4d;
  --glow-2: #ff9a73;
  --aurora: #7df0cf;
  --white: #fff;
  --error: #b42318;
  --ok: #157a52;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(18px, 4vw, 40px);
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 10px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 92px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); interpolate-size: allow-keywords; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; font-stretch: 100%;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--dusk); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--glow); }
:focus-visible { outline: 3px solid var(--glow); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--ice); color: var(--night); }

h1, h2, h3 { font-weight: 800; font-stretch: 125%; line-height: .98; letter-spacing: -.02em; margin: 0 0 .45em; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
h3 { font-size: 1.5rem; font-stretch: 112%; }
p { margin: 0 0 1em; }
.lead { font-size: 1.25rem; line-height: 1.55; }
.small { font-size: .92rem; color: var(--muted); }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--glow); color: var(--night); padding: 12px 18px; border-radius: 999px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- Boutons ---------- */
.btn {
  --lift: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: .7em 1.6em; border-radius: 999px; border: 1.5px solid transparent;
  font: 700 1rem/1.1 var(--font); font-stretch: 112%; letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transform: translateY(var(--lift)); transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn:hover { --lift: -3px; }
.btn:active { --lift: 0px; }
.btn-glow { background: var(--glow); color: var(--night); box-shadow: 0 10px 30px -10px rgba(255, 122, 77, .7); }
.btn-glow:hover { background: var(--glow-2); color: var(--night); box-shadow: 0 0 0 6px rgba(255, 122, 77, .18), 0 18px 40px -12px rgba(255, 122, 77, .8); }
.btn-ghost-light { color: var(--white); border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { color: var(--night); background: var(--white); border-color: var(--white); }
.btn-ghost { color: var(--night); border-color: var(--night); background: transparent; }
.btn-ghost:hover { color: var(--white); background: var(--night); }
.btn-sm { min-height: 42px; padding: .5em 1.15em; font-size: .95rem; }
.btn-block { display: flex; width: 100%; margin-top: .75rem; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.link-arrow { font-weight: 700; font-stretch: 112%; color: var(--night); text-decoration: none; background: linear-gradient(var(--glow), var(--glow)) 0 100% / 100% 2px no-repeat; padding-bottom: 2px; transition: background-size .3s var(--ease); }
.link-arrow:hover { color: var(--night); background-size: 0 2px; background-position: 100% 100%; }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  color: var(--white); transition: background-color .4s, backdrop-filter .4s, box-shadow .4s, transform .4s var(--ease);
}
.site-header.is-scrolled { background: rgba(14, 34, 56, .78); backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; gap: 1.25rem; height: 100%; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--white); text-decoration: none; margin-right: auto; }
.brand { --logo-h: 64px; }
.brand-logo { display: block; height: var(--logo-h); width: auto; max-width: 240px; object-fit: contain; transition: height .4s var(--ease); }
.site-header.is-scrolled .brand { --logo-h: 48px; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.nav-links { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { position: relative; color: rgba(255,255,255,.88); text-decoration: none; font-weight: 600; font-size: .98rem; padding: .4em 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--glow); border-radius: 2px; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--white); }
.nav-links a:hover::after, .nav-links a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.nav-end { display: flex; align-items: center; gap: .9rem; }
.lang-switch { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.lang-switch a { color: rgba(255,255,255,.75); text-decoration: none; font-size: .78rem; font-weight: 700; letter-spacing: .04em; padding: .35em .6em; border-radius: 999px; transition: background-color .2s, color .2s; }
.lang-switch a:hover { color: var(--white); background: rgba(255,255,255,.1); }
.lang-switch a[aria-current] { background: var(--white); color: var(--night); }
.nav-toggle { display: none; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.06); color: var(--white); cursor: pointer; position: relative; z-index: 2; }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease), background-color .2s; }
  .nav-toggle-bars { position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

  .site-nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: stretch; justify-content: center; gap: 2rem;
    padding: calc(var(--header-h) + 1rem) var(--gutter) 2rem;
    background: radial-gradient(120% 80% at 80% 0%, #24507a 0%, var(--night) 55%, #081627 100%);
    clip-path: circle(0 at calc(100% - 44px) 38px); visibility: hidden;
    transition: clip-path .6s var(--ease), visibility 0s .6s;
  }
  .site-nav.is-open { clip-path: circle(150% at calc(100% - 44px) 38px); visibility: visible; transition: clip-path .7s var(--ease), visibility 0s; }
  .nav-links { flex-direction: column; gap: .2rem; }
  .nav-links a { display: inline-block; font-size: clamp(2rem, 9vw, 3rem); font-weight: 800; font-stretch: 125%; letter-spacing: -.02em; line-height: 1.2; opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .5s var(--ease); }
  .site-nav.is-open .nav-links a { opacity: 1; transform: none; }
  .site-nav.is-open .nav-links li:nth-child(2) a { transition-delay: .05s; }
  .site-nav.is-open .nav-links li:nth-child(3) a { transition-delay: .1s; }
  .site-nav.is-open .nav-links li:nth-child(4) a { transition-delay: .15s; }
  .site-nav.is-open .nav-links li:nth-child(5) a { transition-delay: .2s; }
  .nav-links a::after { height: 3px; }
  .nav-end { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .nav-end .btn { min-height: 52px; font-size: 1.05rem; }
  .lang-switch a { font-size: .95rem; padding: .5em .9em; }
  html:not(.js) .site-nav { position: static; clip-path: none; visibility: visible; background: none; padding: 0; }
}
body.menu-open { overflow: hidden; }

/* ---------- Ciel de nuit (hero, en-têtes, bandeaux) ---------- */
.night { position: relative; isolation: isolate; color: var(--white); background: radial-gradient(130% 90% at 75% -10%, #2b5b8a 0%, #17375a 38%, var(--night) 70%); overflow: hidden; }
.night h1, .night h2, .night h3 { color: var(--white); }
.night a:not(.btn) { color: var(--ice); }
.snow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.aurora {
  position: absolute; z-index: -1; inset: -20% -10% auto auto; width: 75vw; height: 60vh; pointer-events: none;
  background:
    radial-gradient(40% 50% at 30% 50%, rgba(125, 240, 207, .32), transparent 70%),
    radial-gradient(35% 45% at 65% 40%, rgba(120, 170, 255, .28), transparent 70%),
    radial-gradient(30% 40% at 50% 70%, rgba(190, 140, 255, .18), transparent 70%);
  filter: blur(40px); animation: aurora 18s ease-in-out infinite alternate;
}
@keyframes aurora { 0% { transform: translate3d(0, 0, 0) rotate(-4deg) scale(1); } 100% { transform: translate3d(-8vw, 4vh, 0) rotate(6deg) scale(1.15); } }
.stars {
  position: absolute; inset: 0 0 35% 0; z-index: -1; opacity: .7;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 28% 8%, #fff 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 45% 22%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 62% 12%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 78% 26%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 90% 6%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 8% 40%, #fff 50%, transparent 51%), radial-gradient(1.3px 1.3px at 36% 38%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 70% 42%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 55% 4%, #fff 50%, transparent 51%);
  animation: twinkle 5s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .35; } to { opacity: .85; } }

/* ---------- Hero d'accueil ---------- */
.hero { --ridges-h: clamp(200px, 32vh, 360px); min-height: 100svh; display: grid; grid-template-rows: 1fr; padding-top: calc(var(--header-h) + 3vh); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding-bottom: calc(var(--ridges-h) * .72); }
.hero-title { font-size: clamp(2.6rem, min(5.8vw, 9.2vh), 5.9rem); font-weight: 850; line-height: .92; letter-spacing: -.035em; margin-bottom: .4em; max-width: 13ch; }
.hero-lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 34rem; color: rgba(255,255,255,.86); }
.hero-actions { margin-top: 1.75rem; }
.hero-photo { margin: 0; position: relative; justify-self: end; width: min(100%, 400px, 44vh); aspect-ratio: 4 / 5; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 220px 220px var(--r-lg) var(--r-lg); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.hero-photo::before { content: ""; position: absolute; inset: -14px; border: 1.5px solid rgba(191, 227, 245, .45); border-radius: 234px 234px 36px 36px; }

.ridges { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; height: var(--ridges-h); pointer-events: none; }
.ridge, .snowfield { position: absolute; left: -2%; width: 104%; display: block; }
.ridge-far { bottom: 0; height: 100%; }
.ridge-far path { fill: #3a6690; opacity: .75; } .ridge-far .snowcap { fill: #d9ecf7; opacity: .9; }
.ridge-mid { bottom: 0; height: 74%; }
.ridge-mid path { fill: #1a3b5e; }
.snowfield { bottom: -1px; height: 56%; }
.snowfield .track { fill: none; stroke: #6f8ea8; stroke-opacity: .6; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; vector-effect: non-scaling-stroke; }
.js .snowfield .track { stroke-dashoffset: 1; animation: draw 2.4s .6s var(--ease) forwards; }
.js .snowfield .track + .track { animation-delay: .75s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.spots { position: relative; z-index: 3; display: flex; flex-wrap: wrap; gap: .75rem 2.5rem; padding-bottom: clamp(1.25rem, 3vw, 2.25rem); color: var(--night); }
.spot { display: grid; grid-template-columns: auto 1fr; column-gap: .65rem; align-items: center; text-decoration: none; color: var(--night) !important; }
.spot-pin, .basecamp-pin { width: 14px; height: 14px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 0 0 rgba(255,122,77,.6); animation: pulse 2.4s infinite; grid-row: span 2; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,122,77,.55); } 70% { box-shadow: 0 0 0 14px rgba(255,122,77,0); } 100% { box-shadow: 0 0 0 0 rgba(255,122,77,0); } }
.spot-name { font-weight: 800; font-stretch: 118%; font-size: 1.15rem; line-height: 1.1; }
.spot-detail { font-size: .9rem; color: var(--muted); }
.spot:hover .spot-name { color: var(--glow); }

@media (max-width: 860px) {
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; padding-bottom: 200px; }
  .hero-photo { justify-self: center; width: min(64%, 260px); margin: 2rem auto 0; }

  .spots { display: none; }
  .hero { --ridges-h: 260px; }
  .ridge-far { height: 80%; } .ridge-mid { height: 60%; }
  .snowfield { height: 46%; }
}

/* Révélation des titres mot à mot (JS) */
.reveal-words .w { display: inline-block; overflow: clip; overflow-clip-margin: .2em; vertical-align: top; padding-bottom: .04em; }
.reveal-words .w > span { display: inline-block; transform: translateY(105%); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + 120ms); }
@keyframes rise { to { transform: none; } }
.hero .hero-lead, .hero .hero-actions, .hero .hero-photo, .page-hero .page-lead, .page-hero .jump, .page-hero .phone-big, .page-hero .hours { animation: fadeUp .9s var(--ease) both; animation-delay: .55s; }
.hero .hero-actions { animation-delay: .7s; }
.hero .hero-photo { animation: photoIn 1.4s var(--ease) both .2s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes photoIn { from { opacity: 0; transform: translateY(40px) scale(.94); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }

/* Apparition au défilement */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section-snow { background: var(--snow); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { margin: 0; max-width: 16ch; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; max-width: 32rem; }

/* Intro */
.intro { background: var(--snow); padding-top: clamp(2.5rem, 6vw, 5rem); }
.intro-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.intro-statement { font-size: clamp(1.8rem, 3.6vw, 3rem); font-weight: 600; font-stretch: 112%; line-height: 1.12; letter-spacing: -.02em; margin: 0; }
.intro-side p { color: var(--muted); font-size: 1.1rem; margin-top: 1.5rem; }
.frost-frame { margin: 0; padding: 10px; background: var(--white); border-radius: var(--r-lg); box-shadow: 0 30px 60px -30px rgba(14,34,56,.35); transform: rotate(-2deg); transition: transform .6s var(--ease); }
.frost-frame:hover { transform: rotate(0deg) scale(1.01); }
.frost-frame img { border-radius: calc(var(--r-lg) - 8px); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; background: var(--frost); }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; } }

/* Activités (accueil) */
.season-filter { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--snow); border: 1px solid var(--line); }
.season-filter button { font: 600 .95rem var(--font); border: 0; background: transparent; color: var(--muted); padding: .55em 1.1em; border-radius: 999px; cursor: pointer; transition: background-color .25s, color .25s; }
.season-filter button[aria-pressed="true"] { background: var(--night); color: var(--white); }
.act-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2.4vw, 1.75rem); }
.act-card { position: relative; display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.act-card[hidden] { display: none; }
.act-card:hover { color: var(--ink); transform: translateY(-6px); border-color: transparent; box-shadow: 0 30px 60px -28px rgba(14,34,56,.45); }
.act-media { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--frost); }
.act-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.act-card:hover .act-media img { transform: scale(1.07); }
.act-body { display: grid; gap: .5rem; padding: 1.4rem 1.6rem 1.6rem; align-content: start; }
.act-title { font-weight: 800; font-stretch: 120%; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1; letter-spacing: -.02em; }
.act-lead { color: var(--muted); font-size: 1rem; line-height: 1.55; }
.act-price { justify-self: start; margin-top: .4rem; font-weight: 800; font-stretch: 112%; font-size: 1.15rem; padding: .35em .9em; border-radius: 999px; background: var(--night); color: var(--white); transition: background-color .3s, color .3s; }
.act-card:hover .act-price { background: var(--glow); color: var(--night); }
.act-tags { display: flex; gap: .4rem; }
.tag { display: inline-flex; align-items: center; gap: .35em; font-size: .8rem; font-weight: 700; letter-spacing: .02em; padding: .3em .75em; border-radius: 999px; }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag-winter { color: #1f5a85; background: #e3f2fb; }
.tag-all { color: #19694e; background: #e2f6ee; }
.tag-nosnow { color: #8a4b12; background: #fbefe2; }
.tag-vip { color: var(--night); background: linear-gradient(120deg, var(--glow), #ffc59e); }
.tag-vip::before { background: var(--night); }
.act-card-featured { order: -1; grid-column: 1 / -1; grid-template-rows: none; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); color: var(--white); background: radial-gradient(120% 120% at 100% 0%, #2b5b8a 0%, var(--night) 65%); border-color: transparent; box-shadow: 0 0 0 2px var(--glow), 0 30px 60px -30px rgba(255,122,77,.6); }
.act-card-featured:hover { color: var(--white); box-shadow: 0 0 0 2px var(--glow), 0 40px 70px -28px rgba(255,122,77,.75); }
.act-card-featured .act-media { aspect-ratio: auto; min-height: 100%; }
.act-card-featured .act-body { align-content: center; padding: clamp(1.6rem, 4vw, 3rem); }
.act-card-featured .act-title { font-size: clamp(2rem, 4vw, 3.2rem); }
.act-card-featured .act-lead { color: rgba(255,255,255,.85); }
.act-card-featured .act-icon { color: var(--glow); }
.act-card-featured .act-price { background: var(--glow); color: var(--night); font-size: 1.35rem; }
.act-card-featured:hover .act-price { background: var(--white); }
.act-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.act-card:not(.act-card-featured) .act-lead { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 1080px) { .act-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .act-grid { grid-template-columns: 1fr; } .act-card-featured { grid-template-columns: 1fr; grid-template-rows: auto 1fr; } .act-card-featured .act-media { aspect-ratio: 16 / 10; } }

/* Rail de la meute */
.pack-rail { padding-bottom: clamp(3rem, 6vw, 5rem); }
.rail-head { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 2rem; }
.rail-head h2 { margin-bottom: .2em; }
.rail-head p { color: rgba(255,255,255,.78); margin: 0; max-width: 36rem; }
.rail-nav { display: flex; gap: .5rem; }
.rail-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.06); color: var(--white); font-size: 1.8rem; line-height: 1; cursor: pointer; transition: background-color .25s, color .25s, transform .3s var(--ease); }
.rail-btn:hover { background: var(--white); color: var(--night); transform: scale(1.06); }
.rail { position: relative; z-index: 1; list-style: none; margin: 0; padding: .5rem max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) 1.5rem; display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 24vw, 300px); gap: 1.1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); scrollbar-width: none; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.is-dragging a { pointer-events: none; }
.rail li { scroll-snap-align: start; }
.rail-foot { position: relative; z-index: 1; margin-top: 1rem; }

.dog-tile { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 4; background: var(--dusk); color: var(--white) !important; text-decoration: none; isolation: isolate; }
.dog-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease), filter .6s; }
.dog-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 45%, rgba(8, 22, 39, .88) 100%); }
.dog-tile-name { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 2.6rem; font-weight: 850; font-stretch: 125%; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1; letter-spacing: -.02em; transition: transform .5s var(--ease); }
.dog-tile-role { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1rem; font-size: .85rem; line-height: 1.3; color: var(--ice); transition: transform .5s var(--ease); }
.dog-tile:hover img { transform: scale(1.08); }
.dog-tile:hover .dog-tile-name { transform: translateY(-6px); }

/* Musher + camps de base */
.musher { background: var(--snow); overflow: hidden; }
.topo {
  position: absolute; inset: 0; opacity: .55; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600'%3E%3Cg fill='none' stroke='%23c6d8e5' stroke-width='1.2'%3E%3Cpath d='M300 80c120 0 220 90 220 210s-90 230-220 230S70 420 80 300 180 80 300 80z'/%3E%3Cpath d='M300 130c95 0 170 70 170 165s-70 180-170 180-180-80-170-175 75-170 170-170z'/%3E%3Cpath d='M300 180c70 0 120 50 120 120s-50 125-120 125-125-55-120-125 50-120 120-120z'/%3E%3Cpath d='M300 230c42 0 72 30 72 70s-30 75-72 75-75-33-72-75 30-70 72-70z'/%3E%3Cpath d='M-40 40c80 30 140 10 220-20M-40 560c90-40 170-10 260 30M420 -20c40 60 120 90 220 80M440 640c30-70 100-110 200-110'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 600px 600px;
}
.musher-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.musher-card h2 { max-width: 14ch; }
.musher-card p { font-size: 1.15rem; color: var(--muted); max-width: 36rem; }
.musher-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 4px solid var(--white); box-shadow: 0 16px 40px -16px rgba(14,34,56,.5); margin-bottom: 1.5rem; background: var(--frost); }
.basecamps { background: rgba(255,255,255,.75); backdrop-filter: blur(10px); border: 1px solid var(--white); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: 0 30px 60px -36px rgba(14,34,56,.4); }
.basecamps h3 { font-size: 1.35rem; margin-bottom: 1.25rem; }
.basecamp { display: grid; grid-template-columns: 14px 1fr; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.basecamp .basecamp-pin { margin-top: .45rem; }
.basecamp p { margin: 0 0 .25rem; }
.basecamp-name { font-weight: 800; font-stretch: 112%; font-size: 1.1rem; }
@media (max-width: 860px) { .musher-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 1.3rem 3rem 1.3rem 0; font-weight: 700; font-stretch: 108%; font-size: 1.2rem; line-height: 1.3; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--dusk); }
.faq summary::after { content: ""; position: absolute; right: .25rem; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--snow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%230e2238' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform .4s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--ice); }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq-a p { margin: 0 0 1.4rem; color: var(--muted); max-width: 44rem; }
.faq-more { margin-top: 2rem; }

/* Bandeau d'appel */
.cta-band { padding: clamp(5rem, 10vw, 8rem) 0; text-align: center; }
.cta-inner { position: relative; z-index: 1; display: grid; justify-items: center; gap: .5rem; }
.cta-title { font-size: clamp(2.2rem, 6vw, 4.8rem); max-width: 16ch; margin: 0; }
.cta-inner p { color: rgba(255,255,255,.8); font-size: 1.15rem; margin: .5rem 0 1rem; }
.cta-inner .actions { justify-content: center; margin-top: 1rem; }

/* ---------- En-têtes de pages ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(2rem, 6vw, 4.5rem)) 0 clamp(7rem, 14vw, 11rem); }
.page-hero-inner { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 6.2rem); font-weight: 850; letter-spacing: -.035em; line-height: .92; max-width: 16ch; }
.page-hero .page-lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: rgba(255,255,255,.85); max-width: 40rem; }
.mountains { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(90px, 14vw, 200px); z-index: 1; display: block; }
.mountains .m-far { fill: var(--dusk); }
.mountains .m-mid { fill: var(--ridge); opacity: .9; }
.mountains .m-near { fill: var(--white); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 1.5rem; padding: 0; font-size: .9rem; color: rgba(255,255,255,.65); }
.crumbs li + li::before { content: "/"; margin-right: .35rem; opacity: .5; }
.crumbs a { color: rgba(255,255,255,.75) !important; text-decoration: none; }
.crumbs a:hover { color: var(--white) !important; }
.jump { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.jump a { color: var(--white) !important; text-decoration: none; font-weight: 600; font-size: .95rem; padding: .5em 1.1em; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06); backdrop-filter: blur(6px); transition: background-color .25s, color .25s; }
.jump a:hover { background: var(--white); color: var(--night) !important; }
.phone-big { display: inline-block; margin-top: 1.5rem; font-weight: 850; font-stretch: 125%; font-size: clamp(2.2rem, 6vw, 4rem); letter-spacing: -.02em; color: var(--white) !important; text-decoration: none; line-height: 1; }
.phone-big:hover { color: var(--glow) !important; }
.hours { color: var(--ice); margin-top: .5rem; }

/* ---------- Page activités ---------- */
.act-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.flip .act-detail-media { order: 2; }
.act-detail-media { position: relative; margin: 0; }
.act-detail-main { position: relative; margin: 0; }
.act-detail-main img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); background: var(--frost); }
.flip .act-detail-main img { border-radius: var(--r-lg) 200px var(--r-lg) var(--r-lg); }
.act-detail:not(.flip) .act-detail-main img { border-radius: 200px var(--r-lg) var(--r-lg) var(--r-lg); }
.act-thumbs { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: .6rem; margin-top: .9rem; }
.act-thumbs a { display: block; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3; background: var(--frost); outline-offset: 3px; }
.act-thumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; }
.act-thumbs a:hover img { transform: scale(1.08); }
.act-notes { list-style: none; padding: 0; margin: 1.1rem 0 0; display: grid; gap: .45rem; }
.act-notes li { position: relative; padding-left: 1.6rem; line-height: 1.5; }
.act-notes li::before { content: ""; position: absolute; left: .2rem; top: .55em; width: .55rem; height: .55rem; border-radius: 50%; border: 2px solid var(--glow); }
.media-tag { position: absolute; left: 1.2rem; bottom: 1.2rem; box-shadow: 0 8px 20px -8px rgba(0,0,0,.4); }
.act-detail-text h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
.when { padding: 1rem 1.2rem; border-radius: var(--r-md); background: var(--snow); border: 1px solid var(--line); }
.when strong { display: block; font-stretch: 112%; margin-bottom: .2rem; }
.tickets { margin: 1.75rem 0; display: grid; gap: .75rem; }
.ticket { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border-radius: var(--r-md); background: var(--night); color: var(--white); overflow: hidden; }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: var(--white); }
.ticket::before { left: -9px; } .ticket::after { right: -9px; }
.ticket dt { font-weight: 700; font-stretch: 108%; }
.ticket dt span { display: block; font-weight: 400; font-stretch: 100%; font-size: .88rem; color: var(--ice); }
.ticket dd { margin: 0; padding-left: 1rem; border-left: 1.5px dashed rgba(255,255,255,.3); font-weight: 850; font-stretch: 125%; font-size: 1.9rem; white-space: nowrap; }
@media (max-width: 860px) { .act-detail-grid { grid-template-columns: minmax(0, 1fr); } .flip .act-detail-media { order: 0; } .act-detail-main img { aspect-ratio: 4 / 3; } }

/* Pass VIP : section de nuit, badge lumineux, billets dorés */
.act-featured .wrap { position: relative; z-index: 1; }
.act-featured .lead, .act-featured .act-notes li { color: rgba(255,255,255,.88); }
.act-featured .when { background: rgba(255,255,255,.07); border-color: rgba(191,227,245,.22); color: rgba(255,255,255,.9); }
.act-featured .when strong { color: var(--ice); }
.act-featured .ticket { background: linear-gradient(120deg, var(--glow), #ffb489); color: var(--night); box-shadow: 0 20px 44px -20px rgba(255,122,77,.7); }
.act-featured .ticket::before, .act-featured .ticket::after { background: var(--night); }
.act-featured .ticket dt span { color: rgba(14,34,56,.75); }
.act-featured .ticket dd { border-left-color: rgba(14,34,56,.3); }
.act-featured .act-detail-main img { box-shadow: 0 0 0 1px rgba(191,227,245,.25), 0 40px 80px -30px rgba(0,0,0,.6); }
.vip-badge { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1.25rem; padding: .5rem 1.1rem .5rem .6rem; border-radius: 999px; font-weight: 800; font-stretch: 112%; letter-spacing: .04em; text-transform: uppercase; font-size: .85rem;
  color: var(--night); background: linear-gradient(120deg, var(--glow), #ffc59e); box-shadow: 0 0 0 6px rgba(255,122,77,.15), 0 12px 30px -10px rgba(255,122,77,.8); animation: vip-pulse 3.2s ease-in-out infinite; }
.vip-badge .icon { width: 30px; height: 30px; padding: 4px; border-radius: 50%; background: var(--night); color: var(--glow); }
@keyframes vip-pulse { 50% { box-shadow: 0 0 0 12px rgba(255,122,77,0), 0 12px 30px -10px rgba(255,122,77,.8); } }
.price-table .row-featured th, .price-table .row-featured td { background: #fff2ea; }
.price-table .row-featured th:first-child { box-shadow: inset 4px 0 0 var(--glow); padding-left: .75rem; }
@media (prefers-reduced-motion: reduce) { .vip-badge { animation: none; } }

.table-scroll { overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { text-align: left; padding: .9rem .75rem .9rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table thead th { font-size: .85rem; color: var(--muted); font-weight: 600; }
.price-table .num { text-align: right; font-weight: 850; font-stretch: 120%; font-size: 1.2rem; white-space: nowrap; }

/* ---------- Meute ---------- */
.pack-group:nth-of-type(even) { background: var(--snow); }
.dog-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: clamp(.8rem, 1.6vw, 1.25rem); }
.dog-grid-small { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.dog-grid-small .dog-tile-name { font-size: 1.35rem; bottom: 1rem; }
.memoriam { background: linear-gradient(180deg, var(--snow), var(--frost)) !important; }
.memoriam .dog-tile img { filter: grayscale(1) contrast(1.05); }
.memoriam .dog-tile:hover img { filter: grayscale(.2); }
@media (max-width: 520px) { .dog-grid { grid-template-columns: repeat(2, 1fr); } .dog-tile-name { font-size: 1.4rem; bottom: 2.4rem; } .dog-tile-role { font-size: .78rem; } }

/* Fiche chien */
.dog-hero { padding: calc(var(--header-h) + 2rem) 0 clamp(6rem, 12vw, 9rem); }
.dog-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr minmax(260px, 460px); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.dog-name { font-size: clamp(3.6rem, 12vw, 10rem); font-weight: 900; letter-spacing: -.045em; line-height: .85; margin-bottom: .2em; }
.dog-portrait { margin: 0; aspect-ratio: 1; border-radius: 50%; padding: 10px; background: conic-gradient(from 200deg, var(--aurora), var(--ice-2), var(--glow), var(--aurora)); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); animation: photoIn 1.2s var(--ease) both .15s; }
.dog-portrait img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; background: var(--dusk); }
.dog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 5vw, 5rem); align-items: start; padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.dog-story { max-width: 44rem; }
.dog-story h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-top: 1.6em; }
.family { padding: 1rem 1.25rem; border-radius: var(--r-md); background: var(--snow); border-left: 4px solid var(--glow); }
.dog-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .75rem; margin: 2rem 0; }
.dog-gallery a { display: block; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 1; background: var(--frost); }
.dog-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.dog-gallery a:hover img { transform: scale(1.08); }
.palmares { list-style: none; padding: 0; margin: 0; border-left: 2px dashed var(--line); }
.palmares li { position: relative; padding: .55rem 0 .55rem 1.5rem; }
.palmares li::before { content: ""; position: absolute; left: -7px; top: 1.05rem; width: 12px; height: 12px; border-radius: 50%; background: var(--white); border: 2px solid var(--glow); }
.dog-facts { position: sticky; top: calc(var(--header-h) + 1.5rem); padding: 1.75rem; border-radius: var(--r-lg); background: var(--night); color: var(--white); box-shadow: 0 30px 60px -30px rgba(14,34,56,.6); }
.dog-facts h2 { color: var(--white); font-size: 1.5rem; }
.dog-facts dl { margin: 0 0 1.25rem; }
.dog-facts dl div { padding: .6rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.dog-facts dt { font-size: .8rem; color: var(--ice-2); font-weight: 600; letter-spacing: .02em; }
.dog-facts dd { margin: 0; line-height: 1.4; }
.dog-facts .btn-ghost { color: var(--white); border-color: rgba(255,255,255,.4); }
.dog-facts .btn-ghost:hover { background: var(--white); color: var(--night); }
.dog-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding-bottom: clamp(3rem, 6vw, 5rem); }
.dog-nav a { text-decoration: none; color: var(--night); font-weight: 850; font-stretch: 125%; font-size: clamp(1.3rem, 2.6vw, 2rem); letter-spacing: -.02em; line-height: 1; transition: color .25s; }
.dog-nav a span { display: block; font-size: .8rem; font-weight: 600; font-stretch: 100%; letter-spacing: 0; color: var(--muted); margin-bottom: .3rem; }
.dog-nav a:hover { color: var(--glow); }
.dog-nav a[rel="next"] { text-align: right; }
.dog-nav .dog-nav-all { font-size: 1rem; font-stretch: 100%; padding: .6em 1.2em; border: 1.5px solid var(--night); border-radius: 999px; }
@media (max-width: 900px) {
  .dog-hero-grid { grid-template-columns: 1fr; }
  .dog-portrait { width: min(72vw, 340px); order: -1; justify-self: center; margin-inline: auto; }
  .dog-layout { grid-template-columns: 1fr; }
  .dog-facts { position: static; }
  .dog-nav { grid-template-columns: 1fr 1fr; }
  .dog-nav .dog-nav-all { display: none; }
}

/* Visionneuse photo */
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 1rem; border: 0; background: rgba(8, 22, 39, .94); display: none; place-items: center; }
.lightbox[open] { display: grid; animation: fadeUp .4s var(--ease); }
.lightbox img { max-height: 86vh; width: auto; border-radius: var(--r-md); }
.lightbox .btn { position: absolute; top: 1rem; right: 1rem; }

/* ---------- À propos / parrainage ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.prose { max-width: 42rem; }
.prose h2 { margin-top: 1.4em; font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.credentials, .offer-card { padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--r-lg); background: var(--snow); border: 1px solid var(--line); }
.credentials h2 { font-size: 1.5rem; margin-top: 1.5rem; }
.credentials-portrait { margin: 0; display: flex; align-items: center; gap: 1rem; }
.credentials-portrait .musher-photo { margin: 0; width: 88px; height: 88px; }
.check-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.check-list li { position: relative; padding: .55rem 0 .55rem 1.8rem; border-bottom: 1px solid var(--line); line-height: 1.45; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .8rem; width: 16px; height: 16px; border-radius: 50%; background: var(--night) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10'%3E%3Cpath d='M2 5.2l2 2 4-4.4' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat; }
.offer-card { background: var(--night); color: var(--white); border: 0; box-shadow: 0 40px 80px -40px rgba(14,34,56,.7); }
.offer-card .check-list li { border-color: rgba(255,255,255,.12); }
.offer-card .check-list li::before { background-color: var(--glow); }
.offer-card .small { color: var(--ice); }
.offer-card .btn-ghost { color: var(--white); border-color: rgba(255,255,255,.4); }
.offer-card .btn-ghost:hover { background: var(--white); color: var(--night); }
.offer-price { font-weight: 900; font-stretch: 125%; font-size: clamp(4rem, 8vw, 6rem); line-height: .9; letter-spacing: -.04em; margin: 0; }
.offer-label { color: var(--ice); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* Parcours (trace de traîneau) */
.trail { list-style: none; margin: 2rem 0 0; padding: 0 0 0 1.5rem; position: relative; }
.trail::before { content: ""; position: absolute; left: 0; top: .4rem; bottom: .4rem; width: 8px; border-left: 2px solid var(--line); border-right: 2px solid var(--line); }
.trail > li { position: relative; padding: 0 0 2rem 1.5rem; }
.trail > li::before { content: ""; position: absolute; left: -1.5rem; top: .35rem; width: 12px; height: 12px; margin-left: -2px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 0 4px var(--snow); }
.trail-year { display: block; font-weight: 850; font-stretch: 125%; font-size: 1.8rem; line-height: 1; margin-bottom: .5rem; }
.trail ul { margin: 0; padding-left: 1.1rem; color: var(--muted); }

.lexique { margin: 1.5rem 0 0; }
.lexique div { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.lexique dt { font-weight: 800; font-stretch: 112%; font-size: 1.2rem; }
.lexique dd { margin: .2rem 0 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-form { padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--r-lg); background: var(--snow); border: 1px solid var(--line); }
.contact-form h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; margin: 1.5rem 0 1rem; }
.field-wide { grid-column: 1 / -1; }
.field label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: .35rem; }
.optional { font-weight: 400; color: var(--muted); font-size: .85rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--white); min-height: 52px; padding: .75rem 1rem;
  border: 1.5px solid var(--line); border-radius: var(--r-sm); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--dusk); box-shadow: 0 0 0 4px rgba(143, 198, 227, .45); }
.has-error input, .has-error textarea { border-color: var(--error); }
.field-error { color: var(--error); font-size: .9rem; margin: .35rem 0 0; }
.alert { padding: 1rem 1.25rem; border-radius: var(--r-sm); margin: 1rem 0; background: var(--white); border-left: 5px solid; }
.alert p { margin: 0; }
.alert-ok { border-color: var(--ok); } .alert-error { border-color: var(--error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-places { display: grid; gap: 1rem; }
.place-card { font-style: normal; position: relative; padding: 1.5rem 1.5rem 1.5rem 3.2rem; border-radius: var(--r-lg); background: var(--night); color: var(--white); }
.place-card .basecamp-pin { position: absolute; left: 1.5rem; top: 1.85rem; }
.place-card p { margin: 0 0 .35rem; }
.place-card .small { color: var(--ice); }
.place-name { font-weight: 800; font-stretch: 112%; font-size: 1.2rem; line-height: 1.2; }
.place-card .link-arrow { color: var(--white); }
.notice { font-size: .9rem; padding: .6rem .8rem; border-radius: var(--r-sm); background: rgba(255,122,77,.15); border-left: 3px solid var(--glow); margin: .6rem 0 !important; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Pied de page ---------- */
.site-footer { position: relative; background: var(--night); color: #c4d4e2; }
.footer-mountains { position: relative; height: clamp(70px, 10vw, 150px); bottom: auto; margin-bottom: -1px; }
.footer-mountains .m-far { fill: #2a5580; opacity: .5; }
.footer-mountains .m-mid { fill: var(--night-2); opacity: 1; }
.footer-mountains .m-near { fill: #081627; }
.footer-body { background: #081627; padding: 2.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
.footer-name, .footer-loc-name { color: var(--white); font-weight: 800; font-stretch: 120%; font-size: 1.15rem; margin-bottom: .5rem; }
.footer-loc { font-style: normal; }
.footer-loc p { margin: 0 0 .4rem; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--glow); }
.footer-phone { font-weight: 850; font-stretch: 125%; font-size: 1.5rem; text-decoration: none; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-copy { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: #7f97ad; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.call-bar { display: none; }
@media (max-width: 720px) {
  .call-bar { display: flex; align-items: center; justify-content: center; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 90; min-height: 54px; border-radius: 999px; background: var(--glow); color: var(--night); font-weight: 800; font-stretch: 112%; text-decoration: none; box-shadow: 0 16px 40px -12px rgba(8,22,39,.6); transform: translateY(150%); transition: transform .5s var(--ease); }
  .call-bar.is-visible { transform: none; }
  body.menu-open .call-bar { transform: translateY(150%); }
}

/* ---------- Transitions entre pages (navigateurs récents) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .35s var(--ease) both; }
::view-transition-new(root) { animation: vtIn .55s var(--ease) both; }
::view-transition-group(*) { animation-duration: .6s; animation-timing-function: var(--ease); }
@keyframes vtOut { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal-words .w > span { transform: none; }
  .js .reveal { opacity: 1; transform: none; }
  .snow { display: none; }
  @view-transition { navigation: none; }
}

@media print { .site-header, .call-bar, .cta-band, .site-footer, .snow, .ridges { display: none; } .night { background: none; color: #000; } .night h1 { color: #000; } }

/* Le menu plein écran ne doit pas être contenu par le flou de l'en-tête */
body.menu-open .site-header { backdrop-filter: none; background: transparent; box-shadow: none; transform: none; }

/* Petits écrans : titres un peu moins larges pour les mots longs (allemand) */
@media (max-width: 600px) {
  h1, h2, .dog-tile-name, .act-title, .dog-name { font-stretch: 110%; }
  .page-hero h1 { font-size: clamp(2.2rem, 10vw, 3.2rem); }
  .reveal-words .w { max-width: 100%; }
}

/* ==========================================================================
   Visuels créés : attelage animé, pictogrammes, carte, équipement
   ========================================================================== */

/* Pictogrammes */
.icon { width: 44px; height: 44px; flex: none; }
.act-tags { align-items: center; flex-wrap: wrap; }
.act-tags .act-icon { order: 2; margin-left: auto; width: 40px; height: 40px; color: var(--dusk); transition: transform .5s var(--ease), color .3s; }
.act-card:hover .act-icon { color: var(--glow); transform: translateX(4px) rotate(-6deg); }
.act-detail-icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--snow); border: 1px solid var(--line); color: var(--dusk); margin-bottom: 1.25rem; }
.act-detail-icon .icon { width: 40px; height: 40px; }

/* Carte des deux sites */
.map { display: block; width: 100%; height: auto; margin: 0 0 1rem; font-family: var(--font); }
.map-bg { fill: #eaf2f8; }
.map-contour { stroke: #d3e2ec; stroke-width: 1; }
.map-border { fill: none; stroke: #9db4c6; stroke-width: 1.5; stroke-dasharray: 2 6; stroke-linecap: round; }
.map-peak { fill: #c6d8e6; } .map-cap { fill: #fff; }
.map-road { fill: none; stroke: var(--night); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1 7; }
.map-road-closed { stroke: #c2410c; stroke-dasharray: 4 6; }
.map-closed circle { fill: #fff; stroke: #c2410c; stroke-width: 2.5; } .map-closed path { stroke: #c2410c; stroke-width: 2.5; stroke-linecap: round; }
.map-town { fill: var(--night); }
.map-spot circle:last-child { fill: var(--glow); stroke: #fff; stroke-width: 3; }
.map-pulse { fill: var(--glow); opacity: .25; transform-box: fill-box; transform-origin: center; animation: mapPulse 2.4s ease-out infinite; }
@keyframes mapPulse { 0% { transform: scale(.5); opacity: .5; } 100% { transform: scale(1.6); opacity: 0; } }
.map-label { fill: var(--night); font-size: 13px; font-weight: 600; paint-order: stroke; stroke: #eaf2f8; stroke-width: 4px; stroke-linejoin: round; }
.map-name { font-size: 19px; font-weight: 800; font-stretch: 115%; }
.map-small { font-size: 12.5px; font-weight: 500; fill: var(--muted); }
.map-warn { font-size: 12px; font-weight: 700; fill: #c2410c; }
.map-dept { font-size: 12px; font-weight: 700; letter-spacing: .14em; fill: #8aa3b7; }
.map-north circle { fill: #fff; stroke: var(--line); } .map-north path { fill: var(--night); } .map-north text { font-size: 11px; font-weight: 800; fill: var(--night); }
.map-card { padding: 10px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.map-card .map { margin: 0; }
.contact-places .frost-frame img { aspect-ratio: 16 / 9; }

/* Bandeau photo (page activités) */
.banner-section { padding-top: 0; }
.banner { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--frost); }
.banner img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; }

/* Équipement (page conseils) */
.gear { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
.gear li { display: grid; justify-items: start; gap: .9rem; padding: 1.4rem; border-radius: var(--r-lg); background: var(--snow); border: 1px solid var(--line); font-weight: 700; font-stretch: 108%; line-height: 1.3; transition: transform .4s var(--ease), background-color .3s, color .3s; }
.gear li .icon { width: 48px; height: 48px; color: var(--dusk); transition: color .3s; }
.gear li:hover { transform: translateY(-4px); background: var(--night); color: var(--white); }
.gear li:hover .icon { color: var(--glow); }

/* Affiche du parrainage */
.poster { margin-top: 2rem; max-width: 380px; transform: rotate(2deg); }
.poster img { aspect-ratio: 724 / 1024; object-fit: cover; }

/* Variante WebP : la balise <picture> ne doit pas casser les mises en page des images */
picture { display: contents; }

/* Réseaux sociaux */
.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.social a { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; }
.social-icon { width: 22px; height: 22px; flex: none; }
.footer-follow { margin: 1.5rem 0 .6rem; color: var(--white); font-weight: 700; font-stretch: 112%; }
.footer-social .social-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.footer-social a { width: 46px; height: 46px; justify-content: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); color: var(--white); transition: background-color .25s, color .25s, transform .3s var(--ease); }
.footer-social a:hover { background: var(--white); color: var(--night); transform: translateY(-3px); }
.social-big a { min-height: 56px; padding: .6em 1.4em .6em 1.1em; border-radius: 999px; background: var(--night); color: var(--white) !important; font-weight: 700; font-stretch: 112%; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s; }
.social-big a:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -14px rgba(14,34,56,.6); }
.social-big .social-facebook:hover { background: #1877f2; }
.social-big .social-instagram:hover { background: #c13584; }
.social-big .social-tiktok:hover { background: #111; }
.follow { background: var(--snow); }
.follow-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; padding: clamp(1.75rem, 4vw, 3rem); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(14,34,56,.45); }
.follow-text { max-width: 36rem; }
.follow-text h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.follow-text p { color: var(--muted); margin: 0; }
.follow-card { padding: 1.5rem; border-radius: var(--r-lg); background: var(--snow); border: 1px solid var(--line); }
.follow-card .place-name { margin-bottom: 1rem; }

/* Rappel en local seulement */
.local-notice { position: fixed; left: 12px; bottom: 12px; z-index: 300; max-width: 360px; padding: .8rem 1rem; border-radius: var(--r-sm); background: #fff3c4; color: #5c4100; font-size: .88rem; line-height: 1.4; box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); }

@media (max-width: 1080px) {
  :root { --header-h: 80px; }
  .brand { --logo-h: 52px; }
}
