/* =====================================================================
   RANDOCARLINE — version « Quatre saisons » (index-dev2)
   Direction : « carnet de montagne », mêmes couleurs que la version actuelle :
   crème papier · vert pin · terracotta. La saison ne change plus la palette,
   seulement la photo, les cartes et les contenus mis en avant.
   Typo : Fraunces (titres) · Inter (texte) · Outfit (titre du héros)
   ===================================================================== */

/* ---------- 1. Propriétés animables (interpolation fluide des couleurs) ---------- */
@property --s1 { syntax: '<color>'; inherits: true; initial-value: #2E5B4B; }
@property --s2 { syntax: '<color>'; inherits: true; initial-value: #B9562B; }
@property --tint { syntax: '<color>'; inherits: true; initial-value: #F6F1E8; }
@property --spot { syntax: '<percentage>'; inherits: false; initial-value: 0%; }

/* ---------- 2. Jetons ---------- */
:root {
  --ground: #F6F1E8;
  --ground-2: #FBF8F2;
  --surface: #FFFFFF;
  --surface-2: #FBF8F2;
  --line: #E3DACB;
  --line-soft: #ECE5D8;
  --text: #1C2621;
  --muted: #55605A;
  --muted-2: #606B65;
  --on-s1: #FFFFFF;

  /* vert pin (actions, liens, chiffres) et terracotta (accents, appels à réserver) */
  --s1: #2E5B4B; --s2: #B9562B; --s2-deep: #9C4622; --tint: #F6F1E8;

  --gutter: clamp(1rem, 3vw, 2.25rem);

  --r-xs: 6px; --r-sm: 10px; --r: 16px; --r-lg: 24px; --r-xl: 34px; --r-pill: 999px;
  --shadow: 0 18px 44px -26px rgba(19,32,44,.28);
  --shadow-lg: 0 34px 70px -34px rgba(19,32,44,.34);

  --display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* étiquettes : même police que le texte, pour rester lisibles */
  --mono: var(--body);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --t-season: 900ms;
  --head-h: 68px;
  --h-ink: #1C2621;
  color-scheme: light;
}

/* ---------- 3. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 1rem); }
body {
  margin: 0; background: var(--ground); color: var(--text); max-width: 100vw;
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* voile de saison très léger sur tout le fond */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(120% 80% at 15% -10%, color-mix(in srgb, var(--s1) 7%, transparent), transparent 60%),
    radial-gradient(90% 70% at 100% 0%, color-mix(in srgb, var(--s2) 5%, transparent), transparent 55%),
    linear-gradient(180deg, var(--tint), var(--ground) 45%);
  transition: background var(--t-season) var(--ease);
}
/* trame topographique */
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420' viewBox='0 0 420 420'%3E%3Cg fill='none' stroke='%2313202C' stroke-opacity='.035' stroke-width='1'%3E%3Cpath d='M-20 90c60-38 120-40 190-14s130 22 200-16'/%3E%3Cpath d='M-20 130c60-38 120-40 190-14s130 22 200-16'/%3E%3Cpath d='M-20 178c70-44 128-40 196-10s126 18 194-22'/%3E%3Cpath d='M-20 226c70-44 128-40 196-10s126 18 194-22'/%3E%3Cpath d='M-20 286c66-40 122-36 190-8s132 14 200-26'/%3E%3Cpath d='M-20 334c66-40 122-36 190-8s132 14 200-26'/%3E%3Cpath d='M-20 392c66-40 122-36 190-8s132 14 200-26'/%3E%3C/g%3E%3C/svg%3E");
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
/* style.css colore tout lien survolé en terracotta : ici un lien garde sa couleur, sauf règle dédiée */
a:hover { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-family: var(--display); font-weight: 700; line-height: 1.12; letter-spacing: -.012em; text-wrap: balance; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--s1); outline-offset: 3px; border-radius: 4px; }
::selection { background: color-mix(in srgb, var(--s1) 40%, transparent); color: #fff; }
.wide { width: 100%; max-width: 1720px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: -5rem; left: 1rem; z-index: 300; background: var(--s1); color: var(--on-s1); padding: .8rem 1.1rem; border-radius: var(--r-sm); font-weight: 700; transition: top .2s; }
.skip:focus { top: 1rem; }

/* ---------- 4. Typographie utilitaire ---------- */
.mono { font-family: var(--mono); font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; font-weight: 500; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; color: var(--s2); font-weight: 600; font-family: var(--mono); font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; font-weight: 500; transition: color var(--t-season) var(--ease); }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.h-xl { font-size: clamp(2.3rem, 5vw, 4.6rem); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; }
.h-lg { font-size: clamp(1.9rem, 3.2vw, 3rem); font-weight: 700; letter-spacing: -.015em; }
.h-md { font-size: clamp(1.35rem, 1.9vw, 1.85rem); font-weight: 700; }
.h-sm { font-size: 1.06rem; font-weight: 700; letter-spacing: -.01em; }
.lead { font-size: clamp(1.02rem, 1.25vw, 1.2rem); color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; font-weight: 700; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem 2rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.sec-head p { margin: .5rem 0 0; }
section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; position: relative; }
.sec-tight { padding: clamp(2rem, 4vw, 3.25rem) 0; }

/* ---------- 5. Boutons ---------- */
.btn { --spot: 0%; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 50px; padding: .8rem 1.5rem; border-radius: var(--r-pill); font-weight: 600; font-size: .95rem; border: 1px solid transparent; cursor: pointer; overflow: hidden; transition: transform .25s var(--ease), background .3s, border-color .3s, color .3s; }
.btn svg { width: 1.1em; height: 1.1em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.985); }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--s1); color: var(--on-s1); box-shadow: 0 14px 34px -16px color-mix(in srgb, var(--s1) 80%, transparent); transition: background var(--t-season) var(--ease), transform .25s var(--ease), box-shadow var(--t-season); }
.btn-primary:hover { background: #1F3F35; }
.btn-ghost { border-color: var(--line); background: rgba(255,255,255,.7); color: var(--text); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--s1); color: var(--s1); }
.btn-sm { min-height: 40px; padding: .5rem 1rem; font-size: .85rem; }
.link-a { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--s1); transition: color var(--t-season) var(--ease), gap .25s var(--ease); }
.link-a svg { width: 1em; height: 1em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.link-a:hover { gap: .8rem; color: #1F3F35; }

/* ---------- 6. En-tête ---------- */
.topbar { position: sticky; top: 0; z-index: 100; color: var(--text); background: color-mix(in srgb, var(--ground) 72%, transparent); backdrop-filter: saturate(150%) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s, color .3s; }
.topbar.stuck { border-bottom-color: var(--line-soft); background: color-mix(in srgb, var(--ground) 92%, transparent); }
.topbar-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .75rem; min-height: var(--head-h); }
.topbar-act { display: flex; align-items: center; gap: .5rem; justify-self: end; }
@media (max-width: 560px) { .topbar-act .btn { width: 44px; min-height: 44px; padding: 0; } .topbar-act .btn span { display: none; } }
.brand { display: flex; align-items: center; gap: .6rem; color: inherit; min-width: 0; }
.brand b { font-family: var(--display); font-size: clamp(.98rem, 3.4vw, 1.12rem); white-space: nowrap; font-weight: 700; letter-spacing: -.01em; line-height: 1; color: var(--text); }
/* le nom « Rando❋arline » : la fleur de carline (logo.svg, recadrée au plus près du dessin) tient lieu de C ;
   un tout petit espace après le o, la fleur collée au a pour que le mot se lise d'un seul tenant */
.brand b.brand-wm { display: block; font-size: clamp(1.3rem, 4.8vw, 1.5rem); text-transform: none; }
.brand-c { display: inline-block; height: .96em; width: auto; margin: 0 -.07em 0 .05em; vertical-align: -.12em; }
.brand-logo { height: 46px; width: auto; flex: none; margin-top: -2px; }
@media (max-width: 560px) { .brand-logo { height: 38px; } }
.brand-i { position: relative; font-style: normal; }
.brand-i::after { content: ""; position: absolute; left: 50%; bottom: .79em; width: .2em; height: .2em; border-radius: 50%; background: #E3A82B; transform: translateX(-50%); }
footer .brand-i::after { background: #F2C14E; }
.brand span { display: block; font-family: var(--mono); font-size: .62rem; font-weight: 600; white-space: nowrap; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-top: .28rem; }
/* navigation en pastille, centrée */
.tnav { display: none; align-items: center; gap: .15rem; padding: .3rem; border-radius: var(--r-pill); background: color-mix(in srgb, currentColor 9%, transparent); backdrop-filter: blur(10px); }
.tnav a { position: relative; isolation: isolate; padding: .6rem .95rem .4rem; font-size: .88rem; font-weight: 500; white-space: nowrap; opacity: .82; transition: opacity .25s; }
/* fond des liens en silhouette de crête : bas arrondi, sommets en haut, qui se lève au survol */
.tnav a::before { content: ""; position: absolute; inset: -.3rem 0 0; z-index: -1; border-radius: 0 0 1.1rem 1.1rem;
  background: color-mix(in srgb, currentColor 9%, transparent);
  clip-path: polygon(0 52%, 9% 40%, 16% 44%, 28% 18%, 35% 26%, 50% 0, 58% 10%, 63% 6%, 74% 28%, 82% 22%, 92% 40%, 100% 50%, 100% 100%, 0 100%);
  transform: scaleY(.55); transform-origin: 50% 100%; opacity: 0; transition: transform .35s var(--ease), opacity .25s; }
.tnav a:hover { opacity: 1; }
.tnav a:hover::before, .tnav a[aria-current="page"]::before { transform: none; opacity: 1; }
.tnav a[aria-current="page"] { opacity: 1; font-weight: 700; }
.tnav a[aria-current="page"]::before { background: color-mix(in srgb, currentColor 16%, transparent); }
.burger { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--r-sm); }
.burger svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
@media (min-width: 1200px) {
  .topbar-in { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .tnav { display: flex; }
  .topbar .burger { display: none; }
}
/* variante claire : l'en-tête flotte sur la photo du héros de l'accueil */
.topbar.on-light { color: var(--h-ink); background: transparent; backdrop-filter: none; }
.topbar.on-light.stuck { background: rgba(238, 244, 250, .74); backdrop-filter: saturate(150%) blur(16px); border-bottom-color: rgba(19, 32, 44, .08); }
.topbar.on-light .brand b { color: var(--h-ink); }
.topbar.on-light .brand span { color: rgba(19, 32, 44, .64); }
.topbar.on-light .burger { border-color: rgba(19, 32, 44, .22); background: rgba(255, 255, 255, .35); }
.topbar .btn-primary { background: var(--s1); color: #fff; box-shadow: none; }
.topbar .btn-primary:hover { background: #1F3F35; color: #fff; }
/* survol en vert (style.css colore les liens survolés en terracotta) */
.tnav a:hover, .tnav a:focus-visible, .sheet nav a:hover { color: var(--s1); }
.topbar .brand:hover, .sheet .brand:hover { color: inherit; }
.topbar :focus-visible, .sheet :focus-visible { outline-color: var(--s1); }

.sheet { position: fixed; inset: 0; z-index: 200; background: var(--ground-2); padding: 1rem var(--gutter) 3rem; transform: translateY(-100%); visibility: hidden; transition: transform .6s var(--ease), visibility 0s linear .6s; overflow-y: auto; }
.sheet.open { transform: none; visibility: visible; transition-delay: 0s; }
.sheet-top { display: flex; align-items: center; justify-content: space-between; min-height: var(--head-h); }
.sheet nav { display: grid; gap: .25rem; margin-top: 1.5rem; }
/* menu mobile : les titres seuls, alignés à droite (demande du 13 novembre 2026) */
.sheet nav a { display: flex; align-items: center; justify-content: flex-end; gap: 1rem; text-align: right; padding: 1rem 0; border-bottom: 1px solid var(--line-soft); font-family: var(--display); font-size: clamp(1.2rem, 5.6vw, 1.5rem); font-weight: 600; }
.sheet nav a span { font-family: var(--mono); font-size: .74rem; color: var(--muted-2); letter-spacing: .07em; text-align: right; }
body.locked { overflow: hidden; }

/* ---------- 7. Héros (clair, sur la photo de la saison) ---------- */
.hero { --h-ink: #1C2621; position: relative; isolation: isolate; margin-top: calc(-1 * var(--head-h)); min-height: clamp(600px, calc(100svh - 24px), 940px); display: flex; flex-direction: column; align-items: stretch; overflow: hidden; padding: calc(var(--head-h) + clamp(1rem, 4vh, 2.75rem)) 0 0; color: var(--h-ink); }
.hero::before { content: none; }
.hero-media { position: absolute; inset: -8% 0 0; z-index: -3; }
.hero-media figure { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .7s var(--ease); }
.hero-media figure.on { opacity: 1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 14%; transform: scale(1.06); }
/* voile clair en haut pour le titre, fondu vers le blanc de la page en bas */
.hero-scrim { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg,
  rgba(236,243,250,.94) 0%, rgba(236,243,250,.82) 22%, rgba(236,243,250,.34) 40%, rgba(236,243,250,0) 54%,
  rgba(246,241,232,0) 74%, rgba(246,241,232,.6) 91%, var(--ground) 100%); }
.hero-in { position: relative; text-align: center; }
.hero h1 { font-family: "Outfit", var(--display); font-weight: 300; font-size: clamp(2.05rem, 4.3vw, 4rem); line-height: 1; letter-spacing: -.022em; text-transform: none; color: inherit; text-shadow: none; margin: 0 auto .7rem; max-width: 100%; }
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: .08em .04em .2em; margin: -.04em -.04em -.1em; }
.hero h1 .w > i { display: inline-block; font-style: normal; animation: wordUp .95s var(--ease) backwards; }
@keyframes wordUp { from { transform: translateY(104%); } }
/* titre équilibré quand il passe sur deux lignes (mobile) */
.hero h1 .hero-l { display: block; text-wrap: balance; }
@media (max-width: 520px) { .hero h1 { font-size: clamp(1.6rem, 7.4vw, 1.8rem); line-height: 1.05; } }
/* activités sous le titre, séparées par des points */
.hero-sub { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .2rem .75rem; margin: 0; font-family: "Outfit", var(--display); font-weight: 500; font-size: clamp(.95rem, 1.5vw, 1.25rem); letter-spacing: .16em; text-transform: uppercase; color: rgba(28, 38, 33, .8); }
.hero-sub i { font-style: normal; font-weight: 700; color: var(--s1); }
@media (max-width: 520px) { .hero-sub { gap: .2rem .55rem; font-size: clamp(.82rem, 3.9vw, .95rem); letter-spacing: .12em; } }
.hero-k { margin: 0 0 .9rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; color: rgba(19, 32, 44, .68); }
.fade-up { opacity: 0; transform: translateY(18px); animation: fadeUp .9s var(--ease) forwards; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* Sélecteur de saison, en pastille */
.seasons { display: inline-flex; gap: .15rem; padding: .28rem; border-radius: var(--r-pill); background: rgba(19, 32, 44, .09); backdrop-filter: blur(8px); }
.season { min-height: 40px; padding: .4rem .95rem; border-radius: var(--r-pill); font-size: .86rem; font-weight: 500; color: rgba(19, 32, 44, .78); transition: background .35s, color .35s; }
.season:hover { background: rgba(19, 32, 44, .08); color: var(--h-ink); }
.season[aria-selected="true"] { background: var(--h-ink); color: #fff; font-weight: 600; }
@media (max-width: 400px) { .season { padding-inline: .7rem; font-size: .82rem; } }

/* espace laissé à la photo entre le titre et le bandeau */
.hero-in { flex: 1 0 auto; min-height: clamp(260px, 44vh, 520px); }

/* Les trois catégories, en bandeau photo collé au bas de l'image ; celle qu'on survole s'élargit */
.hcats { display: flex; width: 100%; height: clamp(112px, 15vh, 140px); }
.hcats a { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; color: #fff; transition: flex-grow .8s var(--ease); }
.hcats a + a { border-left: 2px solid rgba(255, 255, 255, .85); }
.hcats a:hover, .hcats a:focus-visible { flex-grow: 1.5; color: #fff; }
.hcats img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.hcats a:hover img { transform: scale(1.06); }
.hcats img[src*="mer-de-nuages"] { object-position: 38% 40%; }   /* la mer de nuages et les deux marcheurs, pas seulement leurs dos */
.hcats a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 22, 18, .72) 0%, rgba(14, 22, 18, .25) 80%); }
.hcat-t { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: 0 clamp(1rem, 2.4vw, 2.2rem); }
.hcats b { display: block; margin: 0; font-family: var(--display); font-size: clamp(1.2rem, 1.9vw, 2rem); line-height: 1.08; white-space: nowrap; }   /* 1.9vw : « Balades & Randos en toute saison » tient entier à 1440 px */
/* « en toute saison » : suite du titre, cachée, elle se déroule au survol en même temps que la tuile s'élargit (13 novembre 2026) */
.hcat-plus { display: inline-block; max-width: 0; overflow: hidden; vertical-align: bottom; opacity: 0;
  transition: max-width .8s var(--ease), opacity .5s ease .15s; }
.hcats a:hover .hcat-plus, .hcats a:focus-visible .hcat-plus { max-width: 12em; opacity: 1; }
/* « Voir les sorties » : caché, il glisse sous le titre au survol (lien blanc souligné, au format du « Voir plus » des cartes, dev2-affiche.css) */
.hcat-more { display: inline-flex; align-items: center; gap: .4rem; align-self: flex-start; max-height: 0; margin-top: 0; padding-right: .4rem; overflow: hidden; opacity: 0; transform: translateY(6px);
  color: #fff; font-size: .9rem; font-weight: 600; white-space: nowrap; text-decoration: underline; text-underline-offset: .25em;
  transition: max-height .5s var(--ease), margin-top .5s var(--ease), opacity .4s ease .1s, transform .5s var(--ease) .1s; }
.hcat-more svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.hcats a:hover .hcat-more, .hcats a:focus-visible .hcat-more { max-height: 2rem; margin-top: .45rem; opacity: 1; transform: none; }
.hcats a:hover .hcat-more svg { transform: translateX(4px); }
/* l'esperluette de Fraunces en petit corps optique : un « & » classique (celui du grand corps est trop fantaisie) */
.amp { font-variation-settings: "opsz" 9; }
@media (max-width: 700px) {
  /* téléphone : héros plus court pour remonter les trois cartes d'activités (demande du 1er novembre 2026) */
  .hero { min-height: clamp(480px, 74svh, 640px); }
  .hero-in { min-height: clamp(220px, 34svh, 380px); }
  .hero-media img { object-position: center 0%; }   /* cadrage remonté : le sommet reste sous le titre */
  .hcats { height: 96px; }
  .hcats a:hover, .hcats a:focus-visible { flex-grow: 1; }
  .hcats a::after { background: rgba(14, 22, 18, .5); }
  .hcat-t { align-items: center; padding: 0 .4rem; text-align: center; }
  .hcats b { font-size: 1rem; white-space: normal; }
  .hcat-more, .hcat-plus { display: none; }   /* sur téléphone, pas de survol : le titre seul suffit */
}
/* tablette : « Séjours & Itinérants » passe à la ligne plutôt que d'être coupé */
@media (min-width: 701px) and (max-width: 1000px) { .hcats b { font-size: 1.3rem; white-space: normal; } .hcat-t { padding: 0 1rem; } }
@media (prefers-reduced-motion: reduce) { .hcats a, .hcats img, .hcat-more { transition: none; } }

/* « Où je vous emmène » : la carte des vallées. Photo satellite (vallées déjà coloriées), frontière en SVG,
   étiquettes HTML de taille fixe posées en % : elles restent lisibles quelle que soit la largeur. */
.vmap { position: relative; margin: clamp(1.5rem, 3vw, 2.25rem) 0 0; }
/* lisible d'un coup : la largeur est bornée pour que toute la carte tienne dans la hauteur de l'écran (--ar = largeur / hauteur) */
.vm-frame { max-width: calc((100svh - 300px) * var(--ar, 2)); margin-inline: auto; overflow: hidden; border-radius: 22px; box-shadow: 0 24px 60px -24px rgba(28, 38, 33, .45); }
.vm-src { max-width: calc((100svh - 300px) * var(--ar, 2)); margin-inline: auto !important; }
.vm-pic { position: relative; }
/* la carte est un bouton : un clic l'ouvre en grand (.vm-dlg) */
button.vm-frame { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; text-align: left; }
/* 17 novembre 2026 : sur ordinateur et tablette en paysage, on navigue directement dans la carte (.vm-live, VMAP_JS) ;
   l'image fixe (.vm-still) ne sert plus qu'au téléphone et à la tablette en portrait, où un toucher ouvre le plein écran */
.vm-live { position: relative; aspect-ratio: var(--ar); background: #1C2621; }
.vm-live .vm-vp { touch-action: pan-y; }   /* au doigt : glisser vers le bas fait défiler la page, en travers déplace la carte */
.vm-live .vm-open { right: auto; left: 14px; z-index: 2; border: 0; cursor: pointer; }
.vm-live .vm-open:hover, .vm-live .vm-open:focus-visible { transform: scale(1.06); }
.vm-still { display: none; }
@media (max-width: 820px) { .vm-live { display: none; } button.vm-still { display: block; } }
.vm-zoom { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .85rem; border-radius: 999px; background: rgba(251, 248, 242, .94); color: #1C2621; font: 600 13px/1 Inter, sans-serif; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .5); transition: transform .3s var(--ease); }
.vm-zoom svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
button.vm-frame:hover .vm-zoom, button.vm-frame:focus-visible .vm-zoom { transform: scale(1.06); }
/* la grande carte : toute la chaîne, on s'y déplace et on zoome (VMAP_JS dans build_dev2.py) */
.vm-dlg { width: 96vw; height: min(92svh, calc(96vw / var(--ar, 2.5))); max-width: none; max-height: none; padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: #1C2621; }
.vm-dlg::backdrop { background: rgba(14, 22, 18, .8); }
.vm-vp { position: absolute; inset: 0; overflow: hidden; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.vm-vp.vm-drag { cursor: grabbing; }
.vm-pan { position: absolute; left: 0; top: 0; will-change: transform; }
.vm-pan img { pointer-events: none; -webkit-user-drag: none; }
.vm-x { position: absolute; top: 10px; right: 10px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; margin: 0; border: 0; border-radius: 50%; background: #1F3F35; color: #fff; cursor: pointer; }
.vm-x svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
.vm-ctl { position: absolute; right: 12px; bottom: 12px; z-index: 2; display: grid; gap: 1px; overflow: hidden; border-radius: 12px; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .55); }
.vm-ctl button { display: grid; place-items: center; width: 40px; height: 40px; margin: 0; padding: 0; border: 0; background: rgba(251, 248, 242, .95); color: #1C2621; font: 500 22px/1 Inter, sans-serif; cursor: pointer; }
.vm-ctl button:hover { background: #fff; }
.vm-ctl svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vm-hint { position: absolute; left: 50%; top: 14px; z-index: 2; margin: 0; padding: .45rem .9rem; border-radius: 999px; background: rgba(28, 38, 33, .78); color: #fff; font: 500 12.5px/1.3 Inter, sans-serif; white-space: nowrap; transform: translateX(-50%); pointer-events: none; transition: opacity .4s; }
.vm-box.vm-used .vm-hint { opacity: 0; }
.vm-ht { display: none; }
@media (pointer: coarse) { .vm-hm { display: none; } .vm-ht { display: inline; } }
/* lieux de toute la chaîne : un point et le nom, un peu plus marqués que les villages */
.vm-rg > span { font-size: 14px; }
.vm-rg small { display: block; margin-top: 3px; font: 500 11px/1.2 Inter, sans-serif; opacity: .92; }
.vm-l.vm-rg small { text-align: right; }
.vm-t.vm-rg small, .vm-b.vm-rg small { text-align: center; }
/* dans la grande carte, tout s'affiche quelle que soit la taille de l'écran ; seul le zoom décide */
.vm-box .vm-mk > span.vm-pl, .vm-box .vm-mk > .vm-col, .vm-box .vm-mk > .vm-cty { display: block; }
.vm-box .vm-vl > .vm-lg { display: block; }
.vm-box .vm-vl > .vm-sh { display: none; }
.vm-box:not(.vm-z2) .vm-mk > .vm-dt { display: none; }
.vm-box:not(.vm-z3) .vm-mk > .vm-fn { display: none; }
.vm-box:not(.vm-z1) .vm-vl > .vm-lg { display: none; }
.vm-box:not(.vm-z1) .vm-vl > .vm-sh { display: block; }
.vm-box:not(.vm-z1) .vm-mk > .vm-vl > span { padding: 2px 8px; border-width: 1.5px; font-size: 12px; }
/* chaîne entière sur un petit écran : les points seuls, les noms reviennent dès qu'on zoome */
.vm-box.vm-z0 .vm-mk > .vm-vl, .vm-box.vm-z0 .vm-mk > .vm-cty, .vm-box.vm-z0 .vm-mk > span > span { display: none; }
@media (max-width: 700px) {
  .vm-dlg { width: 100vw; height: 100svh; border-radius: 0; }
  .vm-hint { top: 16px; left: 16px; right: 60px; white-space: normal; transform: none; text-align: center; }
}
.vm-pic img { display: block; width: 100%; height: auto; }
.vm-bd { position: absolute; inset: 0; width: 100%; height: 100%; }
.vm-bd polyline { fill: none; stroke: #fff; stroke-width: 2.5px; stroke-dasharray: 9 6; opacity: .9; vector-effect: non-scaling-stroke; }
.vm-mk { position: absolute; inset: 0; pointer-events: none; }
.vm-mk > span { position: absolute; width: 0; height: 0; }
.vm-mk > span > span { position: absolute; white-space: nowrap; color: #fff; text-shadow: 0 0 2px rgba(20, 28, 24, .95), 0 0 6px rgba(20, 28, 24, .7), 0 1px 2px rgba(20, 28, 24, .9); }
.vm-mk > .vm-cty { width: auto; height: auto; transform: translate(-50%, -50%); white-space: nowrap; color: #fff; font: 600 14px/1 Inter, sans-serif; letter-spacing: .3em; opacity: .9; text-shadow: 0 0 4px rgba(20, 28, 24, .8); }
/* villages : un point, le nom du côté indiqué */
.vm-pl::before { content: ""; position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px #1C2621; }
.vm-pl > span { font: 600 13.5px/1 Inter, sans-serif; }
/* sommets : un triangle, le nom en italique */
.vm-pk::before { content: ""; position: absolute; width: 12px; height: 11px; margin: -7px 0 0 -6px; background: #fff; clip-path: polygon(50% 0, 100% 100%, 0 100%); filter: drop-shadow(0 0 1px #1C2621); }
.vm-pk > span { font: italic 500 12px/1 Inter, sans-serif; }
.vm-pk em, .vm-col em { font-style: normal; opacity: .85; }
/* cols : un petit losange */
.vm-col::before { content: ""; position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; background: #fff; transform: rotate(45deg); box-shadow: 0 0 0 1.5px #1C2621; }
.vm-col > span { font: italic 500 12px/1 Inter, sans-serif; }
.vm-r > span { left: 9px; transform: translateY(-50%); }
.vm-l > span { right: 9px; transform: translateY(-50%); }
.vm-t > span { bottom: 9px; transform: translateX(-50%); }
.vm-b > span { top: 9px; transform: translateX(-50%); }
/* vallées : une pastille à leur couleur */
.vm-mk > .vm-vl > span { transform: translate(-50%, -50%); padding: 4px 13px; border: 2px solid #fff; border-radius: 999px; background: var(--c); font: 700 15px/1.2 Fraunces, serif; text-shadow: none; box-shadow: 0 6px 14px -4px rgba(0, 0, 0, .4); }
.vm-vl > .vm-sh { display: none; }
.vm-vl small { display: block; margin-top: 1px; font: 500 10.5px/1.2 Inter, sans-serif; text-align: center; opacity: .92; }
.vm-still .vm-vl small { display: none; }   /* sur l'image fixe du téléphone, le nom seul */
.vm-src { margin: 8px 4px 0; font-size: 9px; line-height: 1.45; color: #8C958F; }   /* crédits obligatoires, en tout petit */
.vm-tall { display: none; }
/* carte large plus étroite que 1210 px (tablette, portable) : quelques noms ne tiennent plus ; on mesure la carte, pas l'écran */
.vm-frame { container-type: inline-size; }
@container (max-width: 1209px) { .vm-th { display: none; } }
/* tablette en portrait et mobile : l'image recadrée, plus haute */
@media (max-width: 820px) {
  .vm-tall { display: block; }
  .vm-wide.vm-has-tall { display: none; }
  .vm-frame { border-radius: 18px; box-shadow: 0 18px 40px -20px rgba(28, 38, 33, .5); }
  .vm-pl > span { font-size: 12px; }
  .vm-vl > span { font-size: 13px; padding: 3px 10px; }
}
/* téléphone : seulement les villages principaux, les noms de vallées courts, sans pays ;
   le bouton « Agrandir » réduit à son icône, dans le coin libre en bas à gauche */
@media (max-width: 560px) {
  .vm-zoom { right: auto; left: 10px; bottom: 10px; padding: .5rem; }
  .vm-zoom > span { display: none; }
  .vm-pl:not(.vm-main), .vm-col, .vm-mk > .vm-cty { display: none; }
  .vm-vl > .vm-lg { display: none; }
  .vm-vl > .vm-sh { display: block; }
}

/* « Bon à savoir » de l'accueil : moins d'espace au-dessus (il suit la présentation de Caroline) */
.steps { padding-top: clamp(1rem, 2vw, 1.5rem); }
.steps .ways-h { margin-bottom: clamp(1.8rem, 3.5vw, 2.8rem); }
/* ---------- Fin de page des rubriques d'activités : barre de contact discrète ---------- */
.qb { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .8rem 1.1rem; width: fit-content; max-width: 100%; margin: 0 auto; padding: .6rem .7rem .6rem .6rem;
  border-radius: 999px; background: #fff; border: 1px solid var(--line-soft); box-shadow: 0 12px 30px -24px rgba(28, 38, 33, .5); }
.qb img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; }
.qb-t { margin: 0; }
.qb-t b { display: block; font-family: var(--display); font-size: 1.15rem; color: var(--text); }
.qb-t span { display: block; font-size: .82rem; color: var(--muted); }
.qb .qb-tel { min-height: 46px; white-space: nowrap; }
.qb-mail { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-soft); color: var(--s1); }
.qb-mail:hover { background: var(--ground-2, #F6F1E6); }
.qb-mail svg { width: 18px; height: 18px; }
.qb--top { margin-top: 2.2rem; }      /* À la journée : la barre juste sous les cartes d'activités */
@media (max-width: 600px) { .qb { border-radius: 22px; padding: 1rem; text-align: center; } .qb-t { flex-basis: 100%; } }

/* l'organisation en étapes : des ronds numérotés reliés par un sentier en pointillés (accueil, À la journée, Contact) */
.fl { position: relative; display: grid; gap: 1.4rem; margin: 2.25rem auto 0; padding: 0; list-style: none; max-width: 1080px; }
.fl li { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 1rem; align-items: start; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.fl-n { grid-row: 1 / span 2; position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--s1); color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.4rem; box-shadow: 0 0 0 6px var(--fl-bg, #FAF7F1), 0 14px 24px -12px rgba(28, 38, 33, .6); transition: transform .4s var(--ease); }
.fl li:hover .fl-n { transform: scale(1.1) rotate(-6deg); }
.fl b { align-self: end; font-family: var(--display); font-size: 1.25rem; line-height: 1.2; color: var(--text); }
.fl p { margin: .25rem 0 0; font-size: .95rem; line-height: 1.5; color: #3B4640; }
.fl::before { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; border-left: 2px dashed color-mix(in srgb, var(--s1) 50%, transparent); }
@media (min-width: 900px) {
  .fl { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 0 1.5rem; }
  .fl li { display: block; text-align: center; }
  .fl-n { margin: 0 auto .9rem; }
  .fl li:nth-child(even) { margin-top: 1.75rem; }
  .fl::before { left: calc(50% / var(--n)); right: calc(50% / var(--n)); top: 40px; bottom: auto; border-left: 0; border-top: 2px dashed color-mix(in srgb, var(--s1) 50%, transparent); }
  .fl b { display: block; }
}
/* les quatre étapes : chiffres sur une seule ligne (accueil, Contact) */
.fl--flat li:nth-child(even) { margin-top: 0 !important; }
/* invitation à descendre, sous le bandeau ; s'efface dès qu'on a défilé (.gone, posé par dev2.js) */
/* sous le bandeau, sur fond uni : le bandeau remonte d'autant et reste entier à l'écran */
.hero-more { display: flex; justify-content: center; margin: 0; padding: .35rem 0 .2rem; background: var(--ground); animation-delay: .5s; }
.hero-more a { display: inline-flex; flex-direction: column; align-items: center; gap: .1rem; min-height: 44px; padding: .2rem 1rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; color: rgba(19, 32, 44, .68); transition: opacity .4s, color .3s; }
.hero-more a:hover { color: var(--h-ink); text-decoration: none; }
.hero-more svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; animation: nudge 1.8s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateY(5px); } }
.hero-more a.gone { opacity: 0; pointer-events: none; }

/* ---------- 7 bis. Accueil : dégradé blanc -> vert et « Quatre façons de vivre la montagne » ---------- */
/* blanc sous le héros, qui glisse vers un crème plus soutenu jusqu'au pied de page vert */
.hero { --ground: #FFFFFF; }
.flow { background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 25%, #FCFAF6 50%, #F6F0E5 75%, #EFE6D6 100%); }
.flow > .section:last-child { padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.flow > .section { background: none; }
.ways { padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(1rem, 3vw, 2.5rem); overflow: hidden; }
.ways-in { width: 100%; max-width: 1220px; margin-inline: auto; padding-inline: var(--gutter); }
.ways-h { text-align: center; max-width: 46rem; margin: 0 auto clamp(2.5rem, 5vw, 4.5rem); }
/* filet vert sous chaque titre de section */
.ways-h h2::after, .avis-h h2::after { content: ""; display: block; width: 56px; height: 3px; border-radius: 3px; background: var(--s1); margin: .9rem auto 0; }
.ways-h .lead { margin: .9rem auto 0; color: var(--muted); }
.way { display: grid; gap: 1.5rem; align-items: center; margin-bottom: clamp(3rem, 6vw, 5.5rem); }
@media (min-width: 860px) {
  .way { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 5rem); }
  .way--r .way-ph { order: 2; }
}
/* photo : pastille flottante, léger travelling au défilement */
.way-ph { position: relative; display: block; }
.way-img { position: relative; display: block; aspect-ratio: 3 / 2; border-radius: 28px; overflow: hidden; background: var(--ice, #E7EEF3); box-shadow: 0 30px 60px -32px rgba(28, 38, 33, .5); }
.way-img img { width: 100%; height: 116%; object-fit: cover; transition: transform 1.2s var(--ease); }
@supports (animation-timeline: view()) {
  .way-img img { animation: wayPan linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  @keyframes wayPan { from { transform: translateY(-12%); } to { transform: translateY(0); } }
}
.way-ph:hover .way-img img { scale: 1.05; }
.way-chip { position: absolute; left: 1rem; top: 1rem; padding: .4rem .9rem; border-radius: var(--r-pill); background: #fff; color: var(--text); font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 8px 20px -10px rgba(28, 38, 33, .5); animation: wayFloat 5s ease-in-out infinite; }
.way--r .way-chip { left: auto; right: 1rem; animation-delay: -2.5s; }
@keyframes wayFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
/* texte : grand, contrasté, un seul appel à l'action */
.way-b { position: relative; }
.way-b h3 { font-size: clamp(1.7rem, 2.8vw, 2.5rem); line-height: 1.1; margin: 0 0 .8rem; color: var(--text); }
.way-b p { font-size: clamp(1.02rem, 1.25vw, 1.15rem); line-height: 1.65; color: #3B4640; max-width: 44ch; margin: 0 0 1.1rem; }
.way-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.5rem; }
.way-tags li { padding: .4rem .9rem; border-radius: var(--r-pill); background: color-mix(in srgb, var(--s1) 10%, #fff); border: 1px solid color-mix(in srgb, var(--s1) 22%, transparent); color: #1F3F35; font-size: .9rem; font-weight: 600; }
/* entrée : la photo arrive de son côté, le texte monte ligne à ligne */
.way.rv { opacity: 1; transform: none; }
.way.rv .way-ph { opacity: 0; transform: translateX(-70px) rotate(-2.5deg); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.way--r.rv .way-ph { transform: translateX(70px) rotate(2.5deg); }
.way.rv .way-b > * { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.way.rv.in .way-ph, .way.rv.in .way-b > * { opacity: 1; transform: none; }
.way.rv.in .way-b > :nth-child(1) { transition-delay: .15s; } .way.rv.in .way-b > :nth-child(2) { transition-delay: .24s; }
.way.rv.in .way-b > :nth-child(3) { transition-delay: .33s; } .way.rv.in .way-b > :nth-child(4) { transition-delay: .42s; }
@media (max-width: 859px) {
  .way.rv .way-ph, .way--r.rv .way-ph { transform: translateY(30px); }
  .way-img { border-radius: 22px; }
}

/* « Regarder la montagne autrement » : même gabarit que les lignes ci-dessus,
   photo de groupe réduite et portrait de Caroline en médaillon */
.about { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.vmap-sec { padding-top: 0; }   /* « Où je vous emmène » suit « La montagne pyrénéenne » (17 novembre 2026) : titre rapproché */
.about .ways-h { max-width: 66rem; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
/* le panorama suit la largeur réelle du contenu (et non de l'écran) : entre 1240 et 1690 px le contenu se resserre pour les photos des marges */
.about .ways-in { container-type: inline-size; }
/* grand panorama de Caroline : la citation posée sur un voile crème à gauche,
   la photo de groupe en petit tirage à droite, trois tuiles à cheval sur le bas */
.about-pano { position: relative; border-radius: 28px; overflow: hidden; background: #fff; border: 1px solid rgba(28, 38, 33, .1); box-shadow: 0 0 34px -6px rgba(28, 38, 33, .22), 0 34px 70px -40px rgba(28, 38, 33, .5); }
.about-cover { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 44% 50%; }
.about-txt { position: relative; padding: 1.5rem 1.25rem 1.75rem; }
.about-q { margin: 0 0 1.4rem; font-family: var(--display); font-style: italic; font-size: clamp(1.15rem, 1.65vw, 1.45rem); line-height: 1.5; color: var(--text); }
.about-q cite { display: block; margin-top: .8rem; font-family: var(--body); font-style: normal; font-weight: 600; font-size: .92rem; color: #3B4640; }
.about-act { display: flex; flex-wrap: wrap; gap: .6rem; }
.about .btn-line { border-color: color-mix(in srgb, var(--s1) 45%, transparent); color: #1F3F35; background: rgba(255, 255, 255, .8); }
.about .btn-line:hover { border-color: var(--s1); background: #fff; }
.about-tel { width: 50px; flex: none; padding: 0; justify-content: center; border-radius: 50%; }
.about-tel svg { margin: 0; }
@container (min-width: 846px) {
  .about-pano { display: flex; align-items: center; min-height: clamp(430px, 36vw, 520px); background: var(--ground); }
  .about-cover { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; object-position: 0% 50%; }
  .about-pano::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(246, 241, 232, .97) 0%, rgba(246, 241, 232, .93) 30%, rgba(246, 241, 232, .5) 42%, rgba(246, 241, 232, 0) 54%); }
  .about-txt { z-index: 2; width: 41%; padding: 2.5rem 0 4.75rem clamp(2rem, 3.5vw, 3.25rem); }
}

/* trois repères : trois pastilles (même famille que la navbar et les étiquettes vertes du site),
   icône en disque vert pin, titre en Fraunces, à cheval sur le bas du panorama */
.about-tiles { position: relative; z-index: 3; display: grid; gap: .6rem; margin: .9rem 0 clamp(2.5rem, 5vw, 4rem); }
.about-tiles li { display: flex; gap: .8rem; align-items: center; padding: .6rem 1.1rem .6rem .6rem; border-radius: 22px; background: color-mix(in srgb, var(--s1) 6%, #fff); border: 1px solid color-mix(in srgb, var(--s1) 22%, transparent); box-shadow: 0 14px 30px -22px rgba(28, 38, 33, .5); transition: opacity .7s var(--ease), transform .5s var(--ease), background .35s, border-color .35s; }
.about-tiles.in li:hover { transform: translateY(-3px); background: #fff; border-color: var(--s1); }
.about-tiles svg { width: 44px; height: 44px; padding: 12px; flex: none; border-radius: 50%; background: var(--s1); stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease); }
.about-tiles li:hover svg { transform: rotate(-8deg) scale(1.06); }
.about-tiles b { display: block; font-family: var(--display); font-weight: 700; font-size: 1.08rem; line-height: 1.2; color: #1F3F35; }
.about-tiles small { display: none; }
.about-tiles p { margin: .12rem 0 0; font-size: .8rem; line-height: 1.4; color: #3B4640; }
@container (min-width: 650px) and (max-width: 845px) { .about-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } .about-tiles li { flex-direction: column; align-items: flex-start; padding: .9rem 1rem 1rem; } }
/* pastilles à cheval sur le bas du panorama dès que le panorama est en largeur (846 px, comme .about-pano).
   Sous 1220 px de contenu (portable, ou zoom du navigateur à 110-125 %), tout rétrécit en proportion (cqi)
   au lieu de changer de mise en page : le design reste celui du grand écran (demande du 4 nov. 2026). */
@container (min-width: 846px) {
  .about-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.5rem, 1.05cqi, .75rem); margin: -2.4rem clamp(.75rem, 3.2cqi, 2.25rem) clamp(2.5rem, 5vw, 4rem); }
  .about-tiles li { border-radius: 999px; gap: clamp(.5rem, 1cqi, .7rem); padding: clamp(.8rem, 1.2cqi, .9rem) clamp(.85rem, 1.65cqi, 1.15rem) clamp(.8rem, 1.2cqi, .9rem) clamp(.5rem, .85cqi, .6rem); }   /* plus d'air en haut et en bas : la première tuile a titre + quatre lignes (13 novembre 2026) */
  .about-tiles svg { width: clamp(36px, 4.1cqi, 44px); height: clamp(36px, 4.1cqi, 44px); padding: clamp(9px, 1.05cqi, 12px); }
  .about-tiles b { font-size: clamp(.9rem, 1.55cqi, 1.08rem); }
  .about-tiles p { font-size: clamp(.7rem, 1.15cqi, .8rem); }
}

/* ---------- 7 ter. Accueil : trois cartes d'activités sous le héros, chacune menant à sa rubrique ---------- */
.go-in { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .go-in { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 699px) {
  .go-in { grid-auto-flow: column; grid-auto-columns: 86%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: .25rem var(--gutter) 1.25rem; scrollbar-width: none; }
  .go-in::-webkit-scrollbar { display: none; }
  .go { scroll-snap-align: center; }
}
.go { display: flex; flex-direction: column; background: #fff; border: 1px solid rgba(28, 38, 33, .08); border-radius: 24px; overflow: hidden; box-shadow: 0 24px 46px -30px rgba(28, 38, 33, .55); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.go:hover { transform: translateY(-6px); box-shadow: 0 32px 56px -30px rgba(28, 38, 33, .6); }
.go-ph { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.go-ph img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease); }
.go:hover .go-ph img { scale: 1.06; }
.go-price { position: absolute; right: .8rem; bottom: .8rem; padding: .35rem .8rem; border-radius: var(--r-pill); background: #fff; color: #1F3F35; font-weight: 700; font-size: .9rem; font-variant-numeric: tabular-nums; box-shadow: 0 8px 20px -10px rgba(28, 38, 33, .5); }
.go-b { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.25rem 1.3rem; }
.go-k { margin: 0 0 .2rem; font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--s1); }
.go-b h3 { font-size: clamp(1.4rem, 1.9vw, 1.65rem); line-height: 1.15; margin: 0 0 .75rem; color: var(--text); }
.go-l { list-style: none; margin: 0 0 1.25rem; padding: 0; }
.go-l li { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; padding: .55rem 0; border-top: 1px dashed color-mix(in srgb, var(--s1) 30%, transparent); }
.go-l li:last-child { border-bottom: 1px dashed color-mix(in srgb, var(--s1) 30%, transparent); }
.go-l b { display: block; font-size: .95rem; font-weight: 600; color: var(--text); }
.go-l small { display: block; font-size: .82rem; color: var(--muted); line-height: 1.35; }
.go-l em { flex: none; font-style: normal; font-weight: 700; font-size: .95rem; color: #1F3F35; font-variant-numeric: tabular-nums; white-space: nowrap; }
.go-b .btn { margin-top: auto; align-self: flex-start; }
.go.rv { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.go.rv.in { opacity: 1; transform: none; }
.go--journee.rv { transition-delay: .1s; } .go--sejours.rv { transition-delay: .2s; }
.go.rv.in:hover { transform: translateY(-6px); transition-delay: 0s; }
/* bloc de contact (portrait, téléphone, lieu, réseaux) : utilisé par la colonne de la page Contact */
.avant-who { display: flex; align-items: center; gap: .9rem; margin: 0 0 1.5rem; }
.avant-who img { width: 84px; height: 84px; flex: none; border-radius: 50%; object-fit: cover; object-position: 50% 30%; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--s1); }
.avant-who b { display: block; font-family: var(--display); font-weight: 700; font-size: 1.25rem; line-height: 1.2; }
.avant-who small { display: block; margin-top: .15rem; font-size: .92rem; line-height: 1.4; color: var(--muted); }
.avant-tel { display: inline-flex; align-items: center; gap: .8rem; align-self: flex-start; font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 2.5vw, 2.1rem); letter-spacing: -.01em; line-height: 1.1; color: #1F3F35; font-variant-numeric: tabular-nums; transition: color .3s; }
.avant-tel svg { width: .62em; height: .62em; padding: .24em; box-sizing: content-box; border-radius: 50%; background: var(--s1); stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; transition: transform .45s var(--ease); }
.avant-tel:hover { color: var(--s1); }
.avant-tel:hover svg { transform: rotate(-12deg) scale(1.06); }
.avant-where { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; line-height: 1.5; color: #3B4640; max-width: 54ch; margin: 1.75rem 0 .4rem; padding-top: 1.4rem; border-top: 1px solid var(--line-soft); }
.avant-where svg, .avant-soc svg { width: 18px; height: 18px; flex: none; stroke: var(--s1); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-top: .15em; }
.avant-soc { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin: 0; }
.avant-soc a { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; font-weight: 600; font-size: .92rem; color: #1F3F35; }
.avant-soc a:hover { color: var(--s1); text-decoration: underline; text-underline-offset: .2em; }

/* petits tirages photo semés dans les marges de la page : taille fixe, jamais réduits ; sous 1660 px c'est le contenu qui se resserre pour leur laisser 235 px de marge, et sous 1240 px ils disparaissent */
.flow { position: relative; overflow-x: clip; }
.edge-pics { display: none; }
@media (min-width: 1240px) {
  body :has(> .edge-pics) :is(.ways-in, .mq-in) { max-width: min(1220px, calc(100vw - 470px)); }
  body :has(> .edge-pics) .container--narrow { max-width: min(980px, calc(100vw - 470px)); }
  .edge-pics { display: block; position: absolute; inset: 0; pointer-events: none; --m: max(235px, calc((100vw - 1220px) / 2)); }
  .edge-pics img { position: absolute; width: calc(var(--f) * 245px); object-fit: cover; border: 5px solid #fff; border-radius: 14px; box-shadow: 0 16px 30px -16px rgba(28, 38, 33, .6); rotate: var(--rot); pointer-events: auto; transition: transform .5s var(--ease); animation: wayFloat 8s ease-in-out infinite; }
  /* + 9 % de marge : légèrement rentrées vers le contenu */
  .edge-pics img.l { left: calc(var(--m) * (var(--x) + .09)); }
  .edge-pics img.r { right: calc(var(--m) * (var(--x) + .09)); }
  .edge-pics img:hover { transform: scale(1.08); }
}
/* page Raquettes : tirages ~25 % plus grands (310 px au lieu de 245) dès 1600 px ; le contenu se resserre pour leur laisser 300 px de marge */
@media (min-width: 1600px) {
  body :has(> .edge-pics--xl) :is(.ways-in, .mq-in) { max-width: min(1220px, calc(100vw - 600px)); }
  body :has(> .edge-pics--xl) .container--narrow { max-width: min(980px, calc(100vw - 600px)); }
  .edge-pics--xl { --m: max(300px, calc((100vw - 1220px) / 2)); }
  .edge-pics--xl img { width: calc(var(--f) * 310px); }
}

/* ---------- 8. Bento ---------- */
.bento { display: grid; gap: .85rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1rem; } }
.cell { position: relative; grid-column: span 2; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: linear-gradient(180deg, var(--surface), var(--ground-2)); box-shadow: var(--shadow); overflow: hidden; transition: border-color .4s, transform .5s var(--ease); }
.cell::after { content: ""; position: absolute; inset: 0; opacity: 0; pointer-events: none; background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--s1) 15%, transparent), transparent 70%); transition: opacity .4s; }
.cell:hover { border-color: color-mix(in srgb, var(--s1) 42%, var(--line)); transform: translateY(-3px); }
.cell:hover::after { opacity: 1; }
.cell > * { position: relative; z-index: 1; }
.cell-h { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .9rem; }
.cell-h .mono { color: var(--muted-2); }
.cell-h > svg { width: 20px; height: 20px; flex: none; stroke: var(--s1); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke var(--t-season) var(--ease); }
@media (min-width: 720px) { .c3 { grid-column: span 3; } .c4 { grid-column: span 4; } .c6 { grid-column: span 6; } }
@media (min-width: 1180px) {
  .c3 { grid-column: span 3; } .c4 { grid-column: span 4; } .c5 { grid-column: span 5; }
  .c6 { grid-column: span 6; } .c7 { grid-column: span 7; } .c8 { grid-column: span 8; } .c12 { grid-column: span 12; }
}
/* carte vedette */
/* carte photo : reste sombre sous le texte, quelle que soit la page */
.feat { padding: 0; min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end; background: #1C2621; color: #fff; }
.feat .muted { color: #D5DEE7; }
.feat .eyebrow, .feat .link-a, .feat .link-a:hover { color: #fff; }
.feat .tag-s { color: #fff; border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.14); }
.feat-img { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.feat-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s var(--ease), transform 1.2s var(--ease); transform: scale(1.04); }
.feat-img img.on { opacity: .78; }
.feat:hover .feat-img img.on { transform: scale(1.09); }
.feat::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(10,14,19,.05) 0%, rgba(10,14,19,.5) 50%, rgba(10,14,19,.93) 88%); }
.feat-b { position: relative; z-index: 2; padding: 1.6rem; }
.feat h3 { margin-bottom: .35rem; }
.tagrow { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .85rem; }
.tag { padding: .3rem .7rem; border: 1px solid var(--line); border-radius: var(--r-pill); font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: rgba(255,255,255,.03); }
.tag-s { border-color: color-mix(in srgb, var(--s1) 50%, transparent); color: var(--s1); background: color-mix(in srgb, var(--s1) 12%, transparent); transition: color var(--t-season) var(--ease), border-color var(--t-season); }
/* tarifs */
.prices { display: grid; gap: .1rem; }
.price-r { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .62rem 0; border-bottom: 1px dashed var(--line-soft); }
.price-r:last-child { border-bottom: 0; }
.price-r span { font-size: .9rem; color: var(--muted); }
.price-r b { white-space: nowrap; font-family: var(--display); font-size: 1.4rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--s1); transition: color var(--t-season) var(--ease); }
.price-r b small { font-family: var(--body); font-size: .72rem; font-weight: 500; color: var(--muted-2); margin-left: .25rem; }
/* niveaux */
.lv { display: flex; align-items: center; gap: .9rem; padding: .7rem 0; border-bottom: 1px solid var(--line-soft); }
.lv:last-child { border-bottom: 0; }
.lv img { width: 42px; height: 42px; border-radius: 50%; flex: none; box-shadow: 0 0 0 1px var(--line); }
.lv b { display: block; font-family: var(--display); font-size: 1rem; font-weight: 700; letter-spacing: .01em; }
.lv span { font-size: .8rem; color: var(--muted); }
.lv .num { margin-left: auto; color: var(--s1); font-size: .82rem; white-space: nowrap; transition: color var(--t-season) var(--ease); }
/* profil */
.who { display: flex; gap: 1rem; align-items: flex-start; }
.who img { width: 84px; height: 84px; border-radius: var(--r); object-fit: cover; flex: none; }
.stat-l { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 1rem; }
.stat-l div b { display: block; font-family: var(--display); font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 700; line-height: 1; color: var(--s1); font-variant-numeric: tabular-nums; transition: color var(--t-season) var(--ease); }
.stat-l div span { font-family: var(--mono); font-size: .6rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted-2); }
/* terrain */
.terr { display: grid; gap: .5rem; }
.terr li { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid var(--line-soft); font-size: .92rem; }
.terr li:last-child { border-bottom: 0; }
.terr li i { font-style: normal; font-family: var(--mono); font-size: .74rem; color: var(--muted-2); text-align: right; }
/* contact */
.tel { display: block; font-family: var(--display); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; letter-spacing: -.01em; color: var(--s1); transition: color var(--t-season) var(--ease); font-variant-numeric: tabular-nums; }
.tel:hover { color: #1F3F35; }

/* ---------- 9. Frise des mois ---------- */
.frise-wrap { position: relative; }
.frise { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-width: none; }
.frise::-webkit-scrollbar { display: none; }
.mth { scroll-snap-align: start; position: relative; padding: 1.15rem 1.15rem 1.3rem; border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(180deg, var(--surface), var(--ground-2)); transition: border-color .5s, background .5s, opacity .5s, transform .5s var(--ease); }
.mth.dim { opacity: .52; }
.mth.hot { border-color: color-mix(in srgb, var(--s1) 55%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--s1) 10%, var(--surface)), var(--ground-2)); }
.mth:hover { transform: translateY(-3px); }
.mth-n { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; margin-bottom: .55rem; }
.mth-n b { font-family: var(--display); font-size: 1.15rem; font-weight: 700; }
.mth-n i { font-style: normal; font-family: var(--mono); font-size: .74rem; color: var(--muted-2); }
.mth p { font-size: .86rem; color: var(--muted); margin: 0 0 .7rem; }
.mth .tag { font-size: .6rem; }
.mth.now::after { content: "Nous sommes ici"; position: absolute; top: -1px; right: -1px; padding: .25rem .6rem; border-radius: 0 var(--r) 0 var(--r); background: var(--s1); color: var(--on-s1); font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.frise-nav { display: flex; gap: .5rem; }
.frise-nav button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: border-color .3s, color .3s, transform .3s var(--ease); }
.frise-nav button:hover { border-color: var(--s1); color: var(--s1); transform: translateY(-2px); }
.frise-nav svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rail-prog { height: 2px; background: var(--line-soft); border-radius: 2px; margin-top: .25rem; overflow: hidden; }
.rail-prog i { display: block; height: 100%; width: 12%; background: var(--s1); border-radius: 2px; transition: transform .18s linear, background var(--t-season); transform-origin: left; }

/* ---------- 10. Agenda ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .45rem; }
.filters button { padding: .5rem 1rem; min-height: 40px; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: .85rem; font-weight: 500; color: var(--muted); transition: color .3s, border-color .3s, background .3s; }
.filters button:hover { color: var(--text); border-color: var(--muted-2); }
.filters button[aria-pressed="true"] { background: var(--s1); border-color: var(--s1); color: var(--on-s1); font-weight: 700; }
.agenda { border-top: 1px solid var(--line); margin-top: 1.75rem; }
.ag { position: relative; display: grid; gap: .3rem 1.5rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); grid-template-columns: 1fr; align-items: center; transition: background .35s, padding .35s var(--ease); }
@media (min-width: 900px) { .ag { grid-template-columns: 180px minmax(0, 1fr) 190px 160px; padding: 1.45rem .5rem; } }
.ag::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--s1); transform: scaleY(0); transform-origin: center; transition: transform .45s var(--ease); }
.ag:hover { background: color-mix(in srgb, var(--surface) 65%, transparent); }
@media (min-width: 900px) { .ag:hover { padding-left: 1.1rem; } }
.ag:hover::before { transform: scaleY(1); }
.ag-d { font-family: var(--mono); font-size: .82rem; color: var(--s1); letter-spacing: .04em; transition: color var(--t-season) var(--ease); }
.ag-d span { display: block; color: var(--muted-2); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; margin-top: .2rem; }
.ag-t b { font-family: var(--display); font-size: 1.22rem; font-weight: 700; display: block; }
.ag-t p { margin: .25rem 0 0; font-size: .89rem; color: var(--muted); max-width: 62ch; }
.ag-m { display: flex; flex-wrap: wrap; gap: .35rem; }
.ag-p { text-align: left; }
@media (min-width: 900px) { .ag-p { text-align: right; } }
.ag-p b { font-family: var(--display); font-size: 1.3rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--s1); transition: color var(--t-season) var(--ease); }
.ag-p span { display: block; font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-top: .15rem; }
.slot { display: inline-flex; align-items: center; gap: .35rem; font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: #1F7F47; }
.slot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.slot.full { color: #BC412B; }
.ag[hidden] { display: none; }
.ag-empty { padding: 2.5rem 0; color: var(--muted); }

/* ---------- 11. Gazette ---------- */
.marquee { position: relative; overflow: hidden; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-t { display: flex; gap: 1rem; width: max-content; animation: slide 68s linear infinite; }
.marquee:hover .marquee-t, .marquee:focus-within .marquee-t { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.post { width: 310px; flex: none; box-shadow: var(--shadow); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); transition: border-color .35s, transform .45s var(--ease); }
.post:hover { border-color: color-mix(in srgb, var(--s1) 50%, transparent); transform: translateY(-4px); }
.post-i { aspect-ratio: 16/10; overflow: hidden; background: var(--ground-2); }
.post-i img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post:hover .post-i img { transform: scale(1.07); }
.post-b { padding: .95rem 1.05rem 1.15rem; }
.post-b .mono { color: var(--muted-2); font-size: .6rem; }
.post-b b { display: block; font-family: var(--display); font-size: 1.02rem; font-weight: 700; margin: .35rem 0 .3rem; line-height: 1.2; }
.post-b p { margin: 0; font-size: .82rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 12. Bandeau final ---------- */
.final { position: relative; overflow: hidden; border-radius: var(--r-xl); border: 1px solid var(--line); background: linear-gradient(150deg, color-mix(in srgb, var(--s1) 9%, var(--surface)), var(--ground-2) 62%); padding: clamp(2rem, 5vw, 4rem); display: grid; gap: 2rem; align-items: center; transition: background var(--t-season) var(--ease); }
@media (min-width: 940px) { .final { grid-template-columns: 1.5fr 1fr; } }
.final::after { content: ""; position: absolute; right: -8%; top: -60%; width: 46%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--s2) 26%, transparent), transparent 72%); transition: background var(--t-season) var(--ease); }
.final > * { position: relative; z-index: 1; }

/* ---------- 13. Pied ---------- */
footer { background: #1F3F35; color: #EEF3EF; padding: clamp(1.75rem, 3vw, 2.5rem) 0 1.1rem; }
footer .brand b { color: #fff; }
footer .brand span { color: rgba(255, 255, 255, .7); }
footer .muted { color: rgba(255, 255, 255, .8); }
/* le haut du pied découpé en crête, comme le fond des liens du menu (.tnav a::before) : une chaîne sombre devant,
   une plus claire derrière ; la hauteur suit la largeur de l'écran, les sommets gardent donc leur allure du téléphone au grand écran */
.pied { position: relative; isolation: isolate; }   /* la crête mord sur le bas de la section précédente, sans bande vide au-dessus */
/* place pour la crête au bas du contenu : le fond de la page (main) se prolonge dessous, sans bande d'une autre couleur */
main:has(+ .pied) { padding-bottom: clamp(42px, 8.4vw, 128px); }
/* page qui finit sur les avis (accueil, contact) : c'est leur fond qui descend jusqu'à la crête */
main:has(+ .pied):has(> .avis:last-child) { padding-bottom: 0; }
main:has(+ .pied) > .avis:last-child { padding-bottom: calc(clamp(2.6rem, 5vw, 4rem) + clamp(42px, 8.4vw, 128px)); }
.pied::before, .pied::after { content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); pointer-events: none; }
.pied::before { height: clamp(30px, 6vw, 92px); background: #1F3F35;
  clip-path: polygon(0 72%, 4% 56%, 7% 62%, 11% 38%, 14% 47%, 18% 30%, 21% 41%, 24% 35%, 28% 54%, 32% 45%, 36% 22%, 39% 31%, 42% 12%, 45% 25%, 48% 19%, 52% 42%, 55% 35%, 59% 52%, 63% 37%, 66% 44%, 70% 20%, 73% 29%, 76% 6%, 79% 22%, 82% 16%, 86% 39%, 89% 31%, 93% 49%, 96% 41%, 100% 58%, 100% 100%, 0 100%); }
.pied::after { z-index: -1; height: clamp(42px, 8.4vw, 128px); background: color-mix(in srgb, #1F3F35 38%, #F6F1E8);
  clip-path: polygon(0 62%, 6% 42%, 10% 50%, 15% 22%, 20% 36%, 26% 10%, 31% 29%, 35% 24%, 40% 42%, 46% 15%, 50% 27%, 56% 4%, 61% 23%, 67% 31%, 72% 12%, 78% 35%, 84% 9%, 90% 31%, 95% 22%, 100% 38%, 100% 100%, 0 100%); }
/* identité à gauche ; les trois colonnes de liens groupées à droite, à écarts égaux */
.foot { display: grid; gap: 1.75rem 2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.foot > :first-child { grid-column: 1 / -1; max-width: 26rem; }
@media (min-width: 860px) { .foot { grid-template-columns: repeat(4, max-content); gap: 1.75rem clamp(1.5rem, 4vw, 3.5rem); } }
@media (min-width: 1280px) { .foot { grid-template-columns: minmax(0, 1fr) repeat(4, max-content); gap: 2rem clamp(2rem, 4vw, 4.5rem); } .foot > :first-child { grid-column: auto; } }
.foot h4, .foot .foot-h { margin-top: 0; font-family: var(--body); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .62); font-weight: 600; margin-bottom: .9rem; }
.foot a { color: rgba(255, 255, 255, .88); font-size: .95rem; display: inline-block; padding: .3rem 0; transition: color .25s; }
.foot a:hover { color: #fff; text-decoration: underline; text-underline-offset: .2em; }
.foot-b { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .8rem; color: rgba(255, 255, 255, .7); }
.soc { display: flex; gap: .5rem; margin-top: .75rem; }
.soc a { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; transition: border-color .3s, background .3s, transform .3s var(--ease); }
.soc a:hover { border-color: #fff; background: rgba(255, 255, 255, .12); color: #fff; text-decoration: none; transform: translateY(-2px); }
.soc svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 14. Révélations au défilement ---------- */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-s > * { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv-s.in > * { opacity: 1; transform: none; }
.rv-s.in > :nth-child(1) { transition-delay: .02s; } .rv-s.in > :nth-child(2) { transition-delay: .08s; }
.rv-s.in > :nth-child(3) { transition-delay: .14s; } .rv-s.in > :nth-child(4) { transition-delay: .2s; }
.rv-s.in > :nth-child(5) { transition-delay: .26s; } .rv-s.in > :nth-child(6) { transition-delay: .32s; }
.rv-s.in > :nth-child(7) { transition-delay: .38s; } .rv-s.in > :nth-child(n+8) { transition-delay: .44s; }


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .rv, .rv-s > *, .fade-up { opacity: 1 !important; transform: none !important; }
  .hero h1 .w > i { transform: none; }
  .marquee-t { animation: none; }
  .way-img img, .way-chip, .about-me, .edge-pics img { animation: none; }
  .way.rv .way-ph, .way.rv .way-b > * { opacity: 1 !important; transform: none !important; }
  .mday { opacity: 1; transform: none; }
  .marquee { overflow-x: auto; }
}

/* ---- Avis Google : deux rangées qui défilent en sens inverse ---- */
.avis { background: linear-gradient(180deg, #EFE6D6 0%, #E6DBC5 100%); padding: clamp(2.4rem, 5vw, 3.6rem) 0 clamp(2.6rem, 5vw, 4rem); overflow: hidden; }
.mq .avis { background: none; }
.mq-top { position: relative; }
.mq .avis .avis-stars svg { fill: var(--gold, #C9962B); stroke: none; }
.avis-h { text-align: center; padding-inline: var(--gutter, 1rem); margin-bottom: clamp(1.2rem, 2.4vw, 1.8rem); }
.avis-info { margin: clamp(1rem, 2vw, 1.4rem) auto 0; max-width: 56rem; padding-inline: var(--gutter, 1rem); text-align: center; color: var(--muted); font-size: .85rem; line-height: 1.5; }
.avis-score { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .4rem; margin: .6rem 0 0; color: var(--muted); font-size: .95rem; }
.avis-note { font-family: var(--display); font-size: 1.15rem; color: var(--text); }
.avis-stars { display: inline-flex; gap: 1px; }
.avis-stars svg { width: .9rem; height: .9rem; fill: var(--gold, #C9962B); stroke: none; }
.avis-link { display: inline-flex; align-items: center; gap: .25em; color: var(--text); text-decoration: underline; text-decoration-color: #9AA09C; text-decoration-thickness: 1px; text-underline-offset: .22em; transition: text-decoration-color .2s; }
.avis-link svg { width: .9em; height: .9em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.avis-link:hover, .avis-link:focus-visible { text-decoration-color: var(--text); }
.avis-link:hover svg, .avis-link:focus-visible svg { transform: translate(2px, -2px); }
.avis-rows { display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden; gap: .7rem; }
.avis-row { display: flex; width: max-content; will-change: transform; }
.avis-row--l { animation: avis-l 45s linear infinite; }
.avis-row--r { animation: avis-r 52s linear infinite; }
.avis-track { display: flex; gap: .7rem; padding: 0 .35rem; margin: 0; list-style: none; flex: none; }
@keyframes avis-l { to { transform: translateX(-50%); } }
@keyframes avis-r { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.avis-c { flex: none; width: 14.5rem; display: flex; flex-direction: column; gap: .5rem; background: #fff; border: 1px solid rgba(28, 38, 33, .07); border-radius: 12px; padding: .8rem .9rem; font-weight: 400; }
.avis-top { display: flex; align-items: center; justify-content: space-between; }
.avis-g { width: 1rem; height: 1rem; flex: none; }
.avis-t { margin: 0; font-size: .78rem; line-height: 1.5; font-weight: 400; color: #3B4640; flex: 1; }
.avis-w { display: flex; align-items: center; gap: .5rem; margin: .15rem 0 0; }
.avis-i { flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; background: var(--s1); color: var(--on-s1, #fff); font-size: .75rem; font-weight: 400; }
.avis-n { font-size: .78rem; line-height: 1.25; font-weight: 400; }
.avis-n small { display: block; color: var(--muted); font-size: .7rem; }
@media (prefers-reduced-motion: reduce) {
  .avis-row { animation: none; width: auto; overflow-x: auto; scroll-snap-type: x proximity; }
  .avis-track[aria-hidden="true"] { display: none; }
  .avis-c { scroll-snap-align: start; }
}

/* séjours : pictogramme de la formule devant la ligne */
.go-l li.go-ico { justify-content: flex-start; align-items: center; }
.go-l li.go-ico img, .go-noico { width: 48px; height: 48px; flex: none; }
.go-l li.go-ico img { object-fit: contain; mix-blend-mode: multiply; }


/* ---------- Audit mobile du 13 novembre 2026 (validé) ---------- */
/* le numéro de téléphone ne se coupe jamais en fin de ligne */
a[href^="tel:"] { white-space: nowrap; }
@media (max-width: 700px) {
  /* un seul écart entre les blocs, environ 55 px */
  .ways { padding-top: 2.25rem; padding-bottom: .5rem; }
  .ways-h { margin-bottom: 1.5rem; }
  .about-tiles { margin-bottom: 1rem; }
  .avis { padding-top: 2.25rem; }
  /* même taille pour tous les titres de section (27 px), titres équilibrés sur deux lignes */
  main h2.h-lg { font-size: 1.7rem; line-height: 1.15; }
  h1, h2, h3, .qb-t b { text-wrap: balance; }
  /* sous-titre du logo un peu plus grand */
  .brand span { font-size: .7rem; }
  /* lien « 59 avis Google » à la taille d'un doigt */
  .avis-link { min-height: 44px; }
  /* pied de page : « Informations légales » en pleine largeur, sous les autres colonnes */
  .foot > :last-child { grid-column: 1 / -1; }
  /* menu : le bouton téléphone à droite, comme les titres */
  .sheet .wide > p:last-child { text-align: right; }
}
/* avis : une seule rangée sur téléphone (audit mobile, 17 novembre 2026) */
@media (max-width: 700px) { .avis-row--r { display: none; } }
/* avis : chaque carte prend la hauteur de son texte, plus de grand vide sous un avis court (audit mobile, 14 novembre 2026) */
.avis-track { align-items: flex-start; }

/* pied de page : renvoi vers « Pourquoi Randocarline ? » (13 novembre 2026) */
.foot a.foot-carline { display: flex; align-items: center; gap: .7rem; width: fit-content; max-width: 100%; margin-top: .6rem; font-size: .88rem; }
.foot-carline img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid rgba(255, 255, 255, .6); }
