/*
Theme Name: Yes Excursions
Theme URI: https://www.yesexcursions.com
Author: Yes
Description: Thème vitrine éditorial pour Yes Excursions — catalogue d'activités à vivre pendant son séjour, par destination et par saison. Direction cinématographique, mobile-first. Refonte 2026.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: yesexcursions
*/

/* =========================================================
   YES EXCURSIONS — Design System v1.1 "Faire rêver"
   Ivoire + forêt profonde + lime de marque (#89D100).
   Titres serif expressifs (Fraunces), photo cinéma plein cadre.
   ========================================================= */

:root {
  --ye-lime:      #89D100;
  --ye-lime-deep: #5E9400;
  --ye-lime-050:  #EEF6DD;

  --ye-forest:    #122017;   /* encre vert-noir profond */
  --ye-forest-70: #3A4A3F;
  --ye-ivory:     #FAF7EF;   /* fond crème chaud */
  --ye-ivory-2:   #F2ECDD;
  --ye-paper:     #FFFFFF;
  --ye-line:      #E4DCC9;
  --ye-gold:      #C7A35A;    /* filet précieux discret */

  --ye-r:    16px;
  --ye-r-lg: 28px;
  --ye-pill: 999px;
  --ye-shadow:    0 18px 50px -24px rgba(18,32,23,.45);
  --ye-shadow-lg: 0 40px 90px -40px rgba(18,32,23,.55);

  /* Typo alignée sur le réseau Yes Conciergerie (POC siège) */
  --ye-display: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ye-body: "Didact Gothic", "Montserrat", -apple-system, sans-serif;

  --ye-max: 1280px;
  --ye-gut: clamp(20px, 5vw, 64px);
  --ye-header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ye-body);
  color: var(--ye-forest);
  background: var(--ye-ivory);
  font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--ye-display);
  font-weight: 460;
  font-optical-sizing: auto;
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0 0 .35em;
}
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.7rem); }
h3 { font-size: clamp(1.4rem, 3vw, 1.95rem); }
p  { margin: 0 0 1em; }
em { font-style: italic; color: var(--ye-lime-deep); }

.ye-wrap { max-width: var(--ye-max); margin-inline: auto; padding-inline: var(--ye-gut); }
.ye-section { padding-block: clamp(64px, 11vw, 150px); }

.ye-eyebrow {
  font-family: var(--ye-body); font-weight: 700;
  font-size: .76rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--ye-lime-deep);
  display: inline-flex; align-items: center; gap: .7em; margin: 0 0 1.1rem;
}
.ye-eyebrow::before { content:""; width: 30px; height: 1.5px; background: var(--ye-lime); display:inline-block; }
.ye-lead { font-size: clamp(1.12rem, 2.3vw, 1.45rem); color: var(--ye-forest-70); max-width: 56ch; line-height: 1.55; }

/* Reveal au scroll */
.ye-reveal { opacity: 0; transform: translateY(38px); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
.ye-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .ye-reveal { opacity:1; transform:none; transition:none; } }

/* Entrée animée du hero (stagger) */
@keyframes ye-up { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
.ye-hero__inner > * { opacity: 0; animation: ye-up 1s cubic-bezier(.16,1,.3,1) forwards; }
.ye-hero__inner > *:nth-child(1) { animation-delay: .15s; }
.ye-hero__inner > *:nth-child(2) { animation-delay: .32s; }
.ye-hero__inner > *:nth-child(3) { animation-delay: .48s; }
.ye-hero__inner > *:nth-child(4) { animation-delay: .62s; }
.ye-hero h1 em { background: linear-gradient(transparent 62%, rgba(137,209,0,.28) 62%); }
/* survol cartes catalogue : zoom image déjà géré ; léger soulèvement */
.ye-bento .ye-card { transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s; }
.ye-bento .ye-card:hover { transform: translateY(-5px) scale(1.012); }

/* ---------- Boutons ---------- */
.ye-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--ye-body); font-weight: 700; font-size: .98rem; letter-spacing: .01em;
  padding: 1em 1.7em; border-radius: var(--ye-pill);
  border: 1.5px solid transparent; cursor: pointer; line-height: 1; white-space: nowrap;
  transition: transform .2s ease, background .25s ease, box-shadow .25s ease, color .25s ease, border-color .25s;
}
.ye-btn:active { transform: translateY(1px); }
.ye-btn--primary { background: var(--ye-lime); color: var(--ye-forest); box-shadow: 0 10px 30px -8px rgba(137,209,0,.6); }
.ye-btn--primary:hover { background: #97e000; box-shadow: 0 14px 38px -8px rgba(137,209,0,.7); transform: translateY(-2px); }
.ye-btn--ink { background: var(--ye-forest); color: #fff; }
.ye-btn--ink:hover { background: #1d3527; transform: translateY(-2px); }
.ye-btn--ghost { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.ye-btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.ye-btn--outline { background: transparent; border-color: var(--ye-line); color: var(--ye-forest); }
.ye-btn--outline:hover { border-color: var(--ye-forest); }
.ye-btn--block { width: 100%; }

/* =========================================================
   HEADER
   ========================================================= */
.ye-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--ye-header-h);
  display: flex; align-items: center; transition: background .35s ease, box-shadow .35s ease, transform .4s cubic-bezier(.16,1,.3,1);
}
/* masqué au sommet d'une page à hero immersif, réapparaît au scroll */
.ye-header--hidden { transform: translateY(-110%); }
.ye-header__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: var(--ye-max); margin-inline: auto; padding-inline: var(--ye-gut); }
.ye-header.is-solid { background: rgba(250,247,239,.86); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--ye-line); }
.ye-logo img { height: 56px; width: auto; image-rendering: -webkit-optimize-contrast; }
@media (min-width: 980px){ .ye-logo img { height: 62px; } }
/* logo vert conservé ; ombre douce quand il est au-dessus d'un visuel */
.ye-header:not(.is-solid):not(.ye-header--light) .ye-logo img { filter: drop-shadow(0 2px 10px rgba(0,0,0,.45)); }

.ye-nav { display: none; }
.ye-nav ul { list-style: none; display: flex; gap: 2rem; margin: 0; padding: 0; }
.ye-nav a { font-weight: 600; font-size: .96rem; position: relative; padding-block: .4rem; transition: color .25s; }
.ye-nav a::after { content:""; position:absolute; left:0; right:100%; bottom:2px; height:1.5px; background: var(--ye-lime); transition: right .3s cubic-bezier(.16,1,.3,1); }
.ye-nav a:hover::after { right: 0; }
.ye-header:not(.is-solid):not(.ye-header--light) .ye-nav a { color: #fff; }
.ye-header__cta { display: none; }

.ye-burger { display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--ye-forest); }
.ye-header:not(.is-solid):not(.ye-header--light) .ye-burger { color: #fff; }
.ye-burger span { width: 26px; height: 2px; background: currentColor; border-radius: 2px; transition: .3s; }

.ye-drawer { position: fixed; inset: 0; z-index: 80; background: var(--ye-forest); color: #fff; display: flex; flex-direction: column; padding: 26px var(--ye-gut) 36px; transform: translateX(100%); transition: transform .4s cubic-bezier(.16,1,.3,1); }
.ye-drawer.is-open { transform: none; }
.ye-drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2.4rem; }
.ye-drawer__close { background: none; border: 0; color: #fff; font-size: 2.4rem; line-height: 1; cursor: pointer; }
.ye-drawer nav ul { list-style: none; margin: 0; padding: 0; }
.ye-drawer nav a { font-family: var(--ye-display); font-weight: 460; font-size: 2.2rem; padding: .55rem 0; display: block; border-bottom: 1px solid rgba(255,255,255,.13); }
.ye-drawer__foot { margin-top: auto; }

/* =========================================================
   HERO cinématographique
   ========================================================= */
.ye-hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; padding-top: calc(var(--ye-header-h) + 16px); }
.ye-hero__media { position: absolute; inset: 0; z-index: 0; }
.ye-hero__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease; will-change: opacity; }
.ye-hero__slide.is-active { opacity: 1; animation: ye-kenburns 9s ease-out both; transform-origin: 60% 40%; }
@keyframes ye-kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.ye-hero::after { content:""; position:absolute; inset:0; z-index:1; background: linear-gradient(180deg, rgba(7,14,9,.36) 0%, rgba(7,14,9,.05) 32%, rgba(7,14,9,.45) 66%, rgba(7,14,9,.86) 100%); }
.ye-hero__inner { position: relative; z-index: 2; width: 100%; max-width: var(--ye-max); margin-inline: auto; padding: 0 var(--ye-gut) clamp(48px, 9vw, 96px); }
.ye-hero .ye-eyebrow { color: rgba(255,255,255,.92); }
.ye-hero .ye-eyebrow::before { background: var(--ye-lime); }
.ye-hero h1 { color: #fff; max-width: 14ch; font-weight: 420; text-shadow: 0 4px 40px rgba(0,0,0,.3); }
.ye-hero h1 em { color: var(--ye-lime); font-style: italic; }
.ye-hero__sub { font-size: clamp(1.1rem, 2.4vw, 1.45rem); max-width: 46ch; color: rgba(255,255,255,.9); margin: .4rem 0 1.8rem; }
.ye-hero__actions { display: flex; gap: .9rem; flex-wrap: wrap; }
.ye-hero__logo { position: absolute; top: 44px; right: var(--ye-gut); z-index: 5; transition: opacity .4s ease, transform .4s ease; filter: drop-shadow(0 1px 4px rgba(0,0,0,.35)); }
.ye-hero__logo img { height: 70px; width: auto; display: block; image-rendering: -webkit-optimize-contrast; }
.ye-hero__logo.is-gone { opacity: 0; transform: translateY(-12px); pointer-events: none; }
@media (min-width: 980px){ .ye-hero__logo { top: 52px; } .ye-hero__logo img { height: 84px; } }
.ye-hero__scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 2; color: rgba(255,255,255,.7); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ye-hero__scroll::after { content:""; width: 1px; height: 38px; background: linear-gradient(rgba(255,255,255,.7), transparent); animation: ye-scrolldot 2s infinite; }
@keyframes ye-scrolldot { 0%{opacity:.2; transform:scaleY(.4); transform-origin:top} 50%{opacity:1} 100%{opacity:.2; transform:scaleY(1)} }

/* =========================================================
   INTRO éditoriale
   ========================================================= */
.ye-intro { text-align: center; }
.ye-intro__statement { font-family: var(--ye-display); font-weight: 420; font-size: clamp(1.9rem, 4.6vw, 3.2rem); line-height: 1.12; letter-spacing: -.02em; max-width: 20ch; margin-inline: auto; }
.ye-intro__statement em { color: var(--ye-lime-deep); }

/* =========================================================
   EXPÉRIENCES SIGNATURE — lignes plein cadre alternées
   ========================================================= */
.ye-feat { display: grid; gap: 0; }
.ye-feat__row { display: grid; grid-template-columns: 1fr; align-items: stretch; }
.ye-feat__media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.ye-feat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.16,1,.3,1); }
.ye-feat__row:hover .ye-feat__media img { transform: scale(1.05); }
.ye-feat__num { position: absolute; top: 18px; left: 20px; font-family: var(--ye-display); font-size: 1.1rem; color: #fff; background: rgba(18,32,23,.45); backdrop-filter: blur(6px); padding: .3em .8em; border-radius: var(--ye-pill); }
.ye-feat__body { padding: clamp(34px, 6vw, 72px) var(--ye-gut); display: flex; flex-direction: column; justify-content: center; }
.ye-feat__loc { color: var(--ye-lime-deep); font-weight: 700; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: .8rem; }
.ye-feat__row .ye-btn { align-self: flex-start; margin-top: 1.2rem; }
@media (min-width: 880px){
  .ye-feat__row { grid-template-columns: 1fr 1fr; min-height: 78vh; }
  .ye-feat__media { aspect-ratio: auto; }
  .ye-feat__row:nth-child(even) .ye-feat__media { order: 2; }
}

/* =========================================================
   RECHERCHE (barre type catalogue)
   ========================================================= */
.ye-search-wrap { background: var(--ye-paper); border-radius: var(--ye-pill); padding: 10px; box-shadow: var(--ye-shadow-lg); max-width: 1040px; margin-inline: auto; }
.ye-search { display: grid; grid-template-columns: 1fr; gap: 4px; }
.ye-search__field { position: relative; display: flex; align-items: center; }
.ye-search__ic { position: absolute; left: 20px; width: 22px; height: 22px; color: var(--ye-forest-70); pointer-events: none; }
.ye-search__chev { position: absolute; right: 18px; width: 18px; height: 18px; color: var(--ye-forest-70); pointer-events: none; }
.ye-search__field--text input, .ye-search__field select {
  width: 100%; font-family: inherit; font-size: 1.05rem; color: var(--ye-forest);
  border: 0; background: transparent; padding: 1.15em 1.25em; border-radius: var(--ye-pill);
  -webkit-appearance: none; appearance: none;
}
.ye-search__field--text input::placeholder, .ye-search__field select { color: #8a917f; }
.ye-search__field select { color: var(--ye-forest); padding-left: 48px; padding-right: 38px; cursor: pointer; text-overflow: ellipsis; }
.ye-search__field select:invalid, .ye-search__field select option[value=""] { color: #8a917f; }
.ye-search__field input:focus, .ye-search__field select:focus { outline: none; }
.ye-search__btn { padding: 1.15em 1.9em; font-size: 1.05rem; gap: .6em; }
@media (max-width: 879px){
  /* Sur telephone les champs s'empilent : le bloc devient haut (277 px mesures a
     390 px) et un rayon de 999 px le transforme en OVALE, qui rogne les coins.
     La pilule n'a de sens que sur la barre horizontale de l'ordinateur. */
  .ye-search-wrap { border-radius: var(--ye-r-lg); }
  .ye-search__field { border-top: 1px solid var(--ye-line); }
  .ye-search__field--text { border-top: 0; }
  .ye-search__btn { margin-top: 6px; }
}
@media (min-width: 880px){
  .ye-search { grid-template-columns: 1.25fr 1.3fr 1.45fr auto; align-items: center; }
  .ye-search__field + .ye-search__field { border-left: 1px solid var(--ye-line); }
}

/* =========================================================
   DESTINATIONS — rail de cartes (style réseau Yes)
   ========================================================= */
.ye-destrail-wrap { margin-top: clamp(28px,4vw,44px); }
.ye-destrail { display: grid; grid-auto-flow: column; grid-auto-columns: 88%; gap: 18px; overflow-x: auto; padding: 4px var(--ye-gut) 18px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.ye-destrail::-webkit-scrollbar { display: none; }
@media (min-width: 680px){ .ye-destrail { grid-auto-columns: 50%; } }
@media (min-width: 1100px){ .ye-destrail { grid-auto-columns: 33%; } }
.ye-dest {
  position: relative; scroll-snap-align: start; overflow: hidden; border-radius: var(--ye-r-lg);
  display: flex; flex-direction: column; justify-content: flex-end; color: #fff; aspect-ratio: 4/3;
  box-shadow: var(--ye-shadow); padding: 24px; isolation: isolate;
  background-image: var(--bg); background-size: cover; background-position: center;
  transition: transform .5s cubic-bezier(.16,1,.3,1), box-shadow .4s;
}
.ye-dest::before { content:""; position:absolute; inset:0; z-index:-1; background-image: var(--bg); background-size: cover; background-position: center; transition: transform 1s cubic-bezier(.16,1,.3,1); }
.ye-dest::after { content:""; position:absolute; inset:0; z-index:-1; background: linear-gradient(180deg, rgba(7,14,9,.05) 30%, rgba(7,14,9,.82)); }
.ye-dest:hover { transform: translateY(-6px); box-shadow: var(--ye-shadow-lg); }
.ye-dest:hover::before { transform: scale(1.08); }
.ye-dest--noimg { background: radial-gradient(120% 120% at 30% 10%, #22402c 0%, var(--ye-forest) 60%); }
.ye-dest--noimg::before { display: none; }
.ye-dest--noimg::after { background: linear-gradient(180deg, rgba(137,209,0,.08), rgba(7,14,9,.55)); }
.ye-dest--noimg .ye-dest__region { background: rgba(137,209,0,.18); border-color: rgba(137,209,0,.4); }
.ye-dest__region { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; background: rgba(255,255,255,.16); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.28); padding: .4em .9em; border-radius: var(--ye-pill); position: absolute; top: 18px; left: 18px; }
.ye-dest h3 { color: #fff; font-weight: 480; font-size: 1.7rem; margin: 0 0 .2rem; }
.ye-dest__cta { font-weight: 700; font-size: .9rem; color: var(--ye-lime); }

/* =========================================================
   RAIL activités (scroll horizontal)
   ========================================================= */
.ye-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; margin-inline: calc(-1 * var(--ye-gut)); padding-inline: var(--ye-gut); -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.ye-rail::-webkit-scrollbar { display: none; }
@media (min-width: 680px){ .ye-rail { grid-auto-columns: 40%; } }
@media (min-width: 1040px){ .ye-rail { grid-auto-columns: 27%; } }
.ye-card { position: relative; scroll-snap-align: start; display: flex; flex-direction: column; background: var(--ye-paper); border-radius: var(--ye-r); overflow: hidden; box-shadow: var(--ye-shadow); transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s; }
.ye-card:hover { transform: translateY(-7px); box-shadow: var(--ye-shadow-lg); }
.ye-card__media { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.ye-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.16,1,.3,1); }
.ye-card:hover .ye-card__media img { transform: scale(1.07); }
.ye-card__media::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 45%, rgba(7,14,9,.55)); }
.ye-card__loc { position: absolute; top: 14px; left: 14px; z-index: 2; color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0,0,0,.4); display:inline-flex; gap:.4em; align-items:center; }
.ye-card__price { position: absolute; bottom: 14px; right: 14px; z-index: 2; background: var(--ye-lime); color: var(--ye-forest); font-weight: 800; font-size: .9rem; padding: .4em .85em; border-radius: var(--ye-pill); }
.ye-card__title { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; color: #fff; font-family: var(--ye-display); font-weight: 460; font-size: 1.4rem; line-height: 1.05; text-shadow: 0 2px 16px rgba(0,0,0,.4); }
.ye-card--solid .ye-card__title { position: static; color: var(--ye-forest); text-shadow: none; padding: 16px 18px 4px; }
.ye-card__body { padding: 16px 18px 20px; }
/* carte sans vraie photo : dégradé forêt élégant */
.ye-card--noimg .ye-card__media { background: radial-gradient(130% 120% at 25% 10%, #22402c 0%, var(--ye-forest) 65%); }
.ye-card--noimg .ye-card__media::after { background: linear-gradient(180deg, rgba(137,209,0,.08), rgba(7,14,9,.5)); }
.ye-card--noimg .ye-card__loc { color: rgba(255,255,255,.85); }

/* Grille de catégories par type d'activité */
.ye-cats { display: grid; grid-template-columns: repeat(2,1fr); gap: clamp(12px,1.6vw,18px); }
@media (min-width: 720px){ .ye-cats { grid-template-columns: repeat(3,1fr); } }

/* Grille de toutes les destinations (page dédiée) */
.ye-destgrid { display: grid; grid-template-columns: 1fr; gap: clamp(16px,2vw,24px); }
@media (min-width: 640px){ .ye-destgrid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1000px){ .ye-destgrid { grid-template-columns: repeat(3,1fr); } }
.ye-destgrid .ye-dest { scroll-snap-align: none; }
.ye-cat { position: relative; aspect-ratio: 1/1; border-radius: var(--ye-r); overflow: hidden; display: flex; align-items: flex-end; color: #fff; box-shadow: var(--ye-shadow); isolation: isolate; }
.ye-cat::before { content:""; position:absolute; inset:0; z-index:-1; background-image: var(--bg); background-size: cover; background-position: center; transition: transform .8s cubic-bezier(.16,1,.3,1); }
.ye-cat::after { content:""; position:absolute; inset:0; z-index:-1; background: linear-gradient(180deg, rgba(7,14,9,.15) 40%, rgba(7,14,9,.78)); }
.ye-cat:hover::before { transform: scale(1.08); }
.ye-cat__label { padding: 16px 18px; font-family: var(--ye-display); font-weight: 480; font-size: clamp(1.05rem,1.6vw,1.35rem); line-height: 1.08; }

/* Catalogue bento (tailles variées, moins « rangé ») */
.ye-bento { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 175px; gap: clamp(12px, 1.6vw, 20px); grid-auto-flow: dense; }
.ye-bento > *:nth-child(1) { grid-column: span 2; grid-row: span 2; }
@media (min-width: 900px) {
  .ye-bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 235px; }
  .ye-bento > *:nth-child(6) { grid-column: span 2; }
}
.ye-bento .ye-card, .ye-bento .ye-card__media { height: 100%; }
.ye-bento .ye-card__media { aspect-ratio: auto; }
.ye-bento .ye-card__title { font-size: clamp(1.15rem, 1.6vw, 1.5rem); }
.ye-bento > *:nth-child(1) .ye-card__title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }

/* Grille (archives) */
.ye-grid { display: grid; gap: clamp(16px, 2.5vw, 26px); grid-template-columns: 1fr; }
@media (min-width: 600px){ .ye-grid--3 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 980px){ .ye-grid--3 { grid-template-columns: repeat(3,1fr); } }

/* Section head */
.ye-shead { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(30px, 4vw, 56px); flex-wrap: wrap; }
.ye-shead p { margin: .6rem 0 0; }
.ye-more { font-weight: 700; color: var(--ye-lime-deep); white-space: nowrap; display: inline-flex; gap: .5em; align-items: center; }
.ye-more:hover { gap: .9em; }

/* =========================================================
   COMMENT ÇA MARCHE — minimal élégant
   ========================================================= */
.ye-steps-tiles { display: grid; gap: 8px; grid-template-columns: 1fr; counter-reset: s; }
@media (min-width: 760px){ .ye-steps-tiles { grid-template-columns: repeat(3,1fr); gap: 0; } }
.ye-step { padding: 36px clamp(20px,3vw,40px); position: relative; }
@media (min-width: 760px){ .ye-step + .ye-step { border-left: 1px solid var(--ye-line); } }
.ye-step__n { counter-increment: s; font-family: var(--ye-display); font-size: 2.4rem; color: var(--ye-lime); line-height: 1; margin-bottom: 14px; }
.ye-step__n::before { content: "0" counter(s); }

/* =========================================================
   CTA immersif final
   ========================================================= */
.ye-cta { position: relative; color: #fff; overflow: hidden; }
.ye-cta__media { position: absolute; inset: 0; z-index: 0; }
.ye-cta__media img { width:100%; height:100%; object-fit: cover; }
.ye-cta::after { content:""; position:absolute; inset:0; background: linear-gradient(120deg, rgba(7,14,9,.82), rgba(7,14,9,.45)); z-index:1; }
.ye-cta__inner { position: relative; z-index: 2; text-align: center; }
.ye-cta h2 { color: #fff; max-width: 18ch; margin-inline: auto; }
.ye-cta h2 em { color: var(--ye-lime); }

/* =========================================================
   AVIS GOOGLE (preuve sociale)
   ========================================================= */
.ye-reviews { text-align: center; padding-top: clamp(36px, 5vw, 70px); }
.ye-reviews__rating { display: inline-flex; align-items: center; gap: .6em; font-weight: 600; color: var(--ye-forest-70); margin-top: .4rem; }
.ye-stars { display: inline-flex; color: #E8A93B; }
.ye-stars svg { width: 22px; height: 22px; }
.ye-reviews__grid { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: clamp(32px,4vw,52px); text-align: left; }
@media (min-width: 760px){ .ye-reviews__grid { grid-template-columns: repeat(3,1fr); } }
/* Sur telephone, les avis defilent au doigt au lieu de s'empiler : trois cartes
   empilees poussent le reste de la page tres bas et personne ne lit la troisieme. */
/* Sous 880 px, l'indicateur « DECOUVRIR » du hero RECOUVRE le bouton « Explorer
   par destination » (mesure a 608 px : ils se chevauchent sur 32 px). Il ne sert
   a rien sur un ecran ou l'on fait defiler au doigt. */
@media (max-width: 879px){ .ye-hero__scroll { display: none; } }

@media (max-width: 759px){
  .ye-reviews__grid{
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 88%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .ye-reviews__grid::-webkit-scrollbar{ display: none; }
  .ye-review-card{ scroll-snap-align: center; padding: 20px 18px; }
  /* L'avatar est dans un flex : sans cette ligne il se fait ECRASER par le texte
     et le rond devient un ovale (vu a l'oeil, aucune mesure ne l'attrape). */
  .ye-review-card__avatar{ flex: 0 0 40px; }
  /* Le nom et la provenance tiennent sur leur ligne au lieu de se couper en deux. */
  .ye-review-card__who > div{ min-width: 0; }
  /* Le texte de l'auteur tient sur deux lignes : centrer l'avatar dessus le
     desaxe. On l'aligne en haut, et la provenance passe en plus petit. */
  .ye-review-card__who{ align-items: flex-start; }
  .ye-review-card__who small,
  .ye-review-card__who span{ font-size: .92em; line-height: 1.35; }
  /* Chaque carte prend la hauteur de son contenu au lieu de s'etirer sur celle
     de la plus longue : plus de grand vide sous les avis courts. */
  .ye-reviews__grid{ align-items: start; }
}
.ye-review-card { background: var(--ye-paper); border: 1px solid var(--ye-line); border-radius: var(--ye-r); padding: 24px 26px; box-shadow: var(--ye-shadow); display: flex; flex-direction: column; gap: 14px; }
.ye-review-card__stars { display: inline-flex; color: #E8A93B; }
.ye-review-card__stars svg { width: 17px; height: 17px; }
.ye-review-card__text { color: #28342c; font-size: 1rem; line-height: 1.55; margin: 0; }
.ye-review-card__who { display: flex; align-items: center; gap: 11px; }
.ye-review-card__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--ye-lime-050); color: var(--ye-lime-deep); display: grid; place-items: center; font-weight: 800; }
.ye-review-card__name { font-weight: 700; }
.ye-review-card__src { font-size: .8rem; color: var(--ye-forest-70); }

/* =========================================================
   CARTE DESTINATIONS (Leaflet)
   ========================================================= */
.ye-map { height: clamp(380px, 56vh, 580px); border-radius: var(--ye-r-lg); overflow: hidden; box-shadow: var(--ye-shadow); z-index: 1; }
.ye-map .leaflet-container { font-family: var(--ye-body); background: #eef1e8; }
.ye-pin i { display: block; width: 18px; height: 18px; border-radius: 50%; background: var(--ye-lime); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(22,33,11,.4); transition: transform .2s; }
.ye-pin:hover i { transform: scale(1.3); }
.ye-pop-wrap .leaflet-popup-content-wrapper { border-radius: var(--ye-r); padding: 0; overflow: hidden; box-shadow: var(--ye-shadow-lg); }
.ye-pop-wrap .leaflet-popup-content { margin: 0; width: 240px !important; }
.ye-pop { display: flex; flex-direction: column; }
.ye-pop__img { display: block; height: 120px; background-size: cover; background-position: center; }
.ye-pop__b { padding: 14px 16px 16px; }
.ye-pop__b small { color: var(--ye-lime-deep); font-weight: 700; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.ye-pop__b strong { display: block; font-family: var(--ye-display); font-weight: 480; font-size: 1.3rem; line-height: 1.1; margin: 2px 0; color: var(--ye-forest); }
.ye-pop__b em { font-style: normal; color: var(--ye-forest-70); font-size: .85rem; }
.ye-pop__b a { display: inline-block; margin-top: 10px; font-weight: 700; color: var(--ye-lime-deep); }

/* =========================================================
   RÉASSURANCE + SÉJOURS DE GROUPE
   ========================================================= */
.ye-trust { background: var(--ye-forest); color: #fff; }
.ye-trust__row { display: flex; flex-wrap: nowrap; gap: clamp(16px, 2.5vw, 44px); justify-content: space-between; align-items: center; padding-block: 26px; font-weight: 600; font-size: clamp(.9rem, 1.15vw, 1.12rem); }
.ye-trust__row span { display: inline-flex; align-items: center; gap: .55em; white-space: nowrap; }
.ye-trust__row span::before { content: "✦"; color: var(--ye-lime); font-size: 1.1em; }
/* mobile : on empile proprement */
@media (max-width: 760px){
  .ye-trust__row { flex-wrap: wrap; flex-direction: column; align-items: flex-start; gap: 12px; }
}

.ye-groupe__grid { display: grid; gap: clamp(28px, 5vw, 64px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px){ .ye-groupe__grid { grid-template-columns: 1.05fr 1fr; } }
.ye-groupe__media { border-radius: var(--ye-r-lg); overflow: hidden; box-shadow: var(--ye-shadow); aspect-ratio: 4/3; }
.ye-groupe__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.16,1,.3,1); }
.ye-groupe__media:hover img { transform: scale(1.05); }
.ye-groupe__list { list-style: none; padding: 0; margin: 1.4rem 0; display: grid; gap: .7rem; }
.ye-groupe__list li { display: flex; align-items: center; gap: .7em; font-weight: 600; }
.ye-groupe__list li::before { content: "✓"; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ye-lime-050); color: var(--ye-lime-deep); font-size: .85rem; }

/* =========================================================
   FICHE ACTIVITÉ
   ========================================================= */
.ye-single { padding-top: var(--ye-header-h); }
.ye-single__main { max-width: 800px; margin-inline: auto; }
.ye-assure { list-style: none; padding: 0; margin: 28px 0; display: flex; flex-wrap: wrap; gap: 12px 26px; border-block: 1px solid var(--ye-line); padding-block: 18px; }
.ye-assure li { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; font-size: .95rem; color: var(--ye-forest); }
.ye-assure li span { color: var(--ye-lime-deep); font-weight: 800; }
.ye-book__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.ye-book__head .ye-book__provider { margin: 0; }
.ye-form--grid { grid-template-columns: 1fr 1fr; }
.ye-form--grid .ye-field--full { grid-column: 1 / -1; }
@media (max-width: 560px){ .ye-form--grid { grid-template-columns: 1fr; } }
.ye-crumb { font-size: .82rem; color: var(--ye-forest-70); padding-block: 18px 6px; }
.ye-crumb a:hover { color: var(--ye-lime-deep); }
.ye-gallery { display: grid; gap: 8px; grid-template-columns: 1fr; border-radius: var(--ye-r-lg); overflow: hidden; }
@media (min-width: 760px){ .ye-gallery { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; height: 64vh; max-height: 580px; }
  .ye-gallery__main { grid-row: 1 / 3; grid-column: 1; }
}
.ye-gallery figure { margin: 0; overflow: hidden; position: relative; }
.ye-gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/10; transition: transform .9s cubic-bezier(.16,1,.3,1); }
@media (min-width: 760px){ .ye-gallery img { aspect-ratio: auto; height: 100%; } }
.ye-gallery figure:hover img { transform: scale(1.05); }
.ye-gallery__more { position: absolute; inset: 0; background: rgba(7,14,9,.55); color:#fff; display: grid; place-items: center; font-weight: 700; font-size: 1.1rem; }

.ye-single__head { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin: 26px 0 8px; }
.ye-tag { background: var(--ye-lime-050); color: var(--ye-lime-deep); font-weight: 700; font-size: .8rem; padding: .42em .95em; border-radius: var(--ye-pill); }
.ye-tag--ink { background: var(--ye-forest); color: #fff; }
.ye-layout { display: grid; gap: 48px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px){ .ye-layout { grid-template-columns: 1fr 380px; } }
.ye-prose { font-size: 1.08rem; line-height: 1.75; color: #28342c; max-width: 64ch; }
.ye-prose img { border-radius: var(--ye-r); margin: 1.2rem 0; }
.ye-prose h2, .ye-prose h3 { margin-top: 1.5em; }

.ye-book { background: var(--ye-paper); border: 1px solid var(--ye-line); border-radius: var(--ye-r-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--ye-shadow); }
.ye-book__price { font-family: var(--ye-display); font-weight: 480; font-size: 2.3rem; color: var(--ye-forest); line-height: 1; }
.ye-book__price small { font-family: var(--ye-body); font-weight: 600; font-size: .85rem; color: var(--ye-forest-70); display:block; margin-top: 6px; }
.ye-book__provider { display:flex; align-items:center; gap: 12px; margin: 18px 0; padding: 14px; background: var(--ye-ivory); border-radius: var(--ye-r); }
.ye-book__provider img { width: 48px; height: 48px; border-radius: 10px; object-fit: contain; background:#fff; }

.ye-form { display: grid; gap: 12px; }
.ye-field { display: grid; gap: 6px; }
.ye-field label { font-weight: 600; font-size: .82rem; color: var(--ye-forest-70); }
.ye-field input, .ye-field textarea {
  font-family: inherit; font-size: 1rem; padding: .85em .95em; border: 1.5px solid var(--ye-line); border-radius: var(--ye-r); background: #fff; color: var(--ye-forest); width: 100%;
}
.ye-field input:focus, .ye-field textarea:focus { outline: none; border-color: var(--ye-lime); box-shadow: 0 0 0 3px rgba(137,209,0,.2); }
.ye-form__note { font-size: .78rem; color: var(--ye-forest-70); }
.ye-form__ok { background: var(--ye-lime-050); border:1px solid var(--ye-lime); border-radius: var(--ye-r); padding: 15px; color: var(--ye-lime-deep); font-weight: 600; }

.ye-sticky-cta { position: fixed; inset: auto 0 0 0; z-index: 70; display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px var(--ye-gut); padding-bottom: max(12px, env(safe-area-inset-bottom)); background: rgba(250,247,239,.97); backdrop-filter: blur(12px); border-top: 1px solid var(--ye-line); box-shadow: 0 -10px 30px -16px rgba(18,32,23,.4); }
.ye-sticky-cta__price { font-family: var(--ye-display); font-weight: 480; font-size: 1.3rem; }
.ye-sticky-cta__price small { display:block; font-family: var(--ye-body); font-weight: 600; font-size: .72rem; color: var(--ye-forest-70); }
@media (min-width: 960px){ .ye-sticky-cta { display: none; } }

/* =========================================================
   ARCHIVES
   ========================================================= */
.ye-archead { position: relative; color: #fff; min-height: 52vh; display: flex; align-items: flex-end; overflow: hidden; }
.ye-archead__media { position:absolute; inset:0; z-index:0; }
.ye-archead__media img { width:100%; height:100%; object-fit: cover; }
.ye-archead::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(7,14,9,.35), rgba(7,14,9,.8)); z-index:1; }
.ye-archead__inner { position: relative; z-index: 2; width:100%; max-width: var(--ye-max); margin-inline:auto; padding: 0 var(--ye-gut) clamp(36px,6vw,64px); }
.ye-archead h1 { color:#fff; }
.ye-archead .ye-eyebrow { color: rgba(255,255,255,.9); }

/* =========================================================
   FOOTER
   ========================================================= */
.ye-footer { background: var(--ye-forest); color: rgba(255,255,255,.72); padding-block: clamp(56px, 8vw, 96px) 30px; }
.ye-footer a:hover { color: #fff; }
.ye-footer__grid { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 760px){ .ye-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.ye-footer h4 { color: #fff; font-family: var(--ye-body); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1.1rem; }
.ye-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.ye-footer__logo img { height: 46px; margin-bottom: 1.2rem; }
.ye-footer__tag { max-width: 22ch; font-family: var(--ye-display); font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.18; letter-spacing: -.01em; color: #fff; margin: 0; }
.ye-footer__tag em { font-style: italic; color: var(--ye-lime); }
.ye-footer ul li { line-height: 1.3; }
.ye-footer__bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.13); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .84rem; }

/* Utils */
.ye-center { text-align: center; }
.ye-mt { margin-top: clamp(26px, 4vw, 44px); }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }
.ye-band { background: var(--ye-ivory-2); }
.ye-band--paper { background: var(--ye-paper); }

@media (min-width: 980px){
  .ye-nav { display: block; }
  .ye-burger { display: none; }
  .ye-header__cta { display: inline-flex; }
}

/* =========================================================
   CONTACT (template-contact.php)
   ========================================================= */
.ye-archead--sm { min-height: 56vh; padding-top: var(--ye-header-h); box-sizing: border-box; }

.ye-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ye-contact {
  display: grid;
  grid-template-columns: 1.25fr .85fr;
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
}
@media (max-width: 880px){ .ye-contact { grid-template-columns: 1fr; } }

.ye-contact__form {
  background: var(--ye-paper);
  border: 1px solid var(--ye-line);
  border-radius: var(--ye-r-lg);
  padding: clamp(24px, 3vw, 40px);
  box-shadow: var(--ye-shadow);
}
.ye-contact__form h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 6px; }
.ye-contact__intro { color: var(--ye-forest-70); margin: 0 0 22px; }

/* select stylé cohérent avec les champs */
.ye-select { position: relative; }
.ye-select select {
  appearance: none; -webkit-appearance: none;
  font-family: inherit; font-size: 1rem; width: 100%;
  padding: .85em 2.4em .85em .95em;
  border: 1.5px solid var(--ye-line); border-radius: var(--ye-r);
  background: #fff; color: var(--ye-forest); cursor: pointer;
}
.ye-select select:focus { outline: none; border-color: var(--ye-lime); box-shadow: 0 0 0 3px rgba(137,209,0,.2); }
.ye-select::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--ye-forest-70); border-bottom: 2px solid var(--ye-forest-70);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}

/* panneau coordonnées vert forêt */
.ye-contact__side {
  background: var(--ye-forest); color: rgba(255,255,255,.82);
  border-radius: var(--ye-r-lg); padding: clamp(24px, 3vw, 40px);
  position: sticky; top: calc(var(--ye-header-h) + 20px);
}
@media (max-width: 880px){ .ye-contact__side { position: static; } }
.ye-contact__badge {
  display: inline-block; background: var(--ye-lime); color: var(--ye-forest);
  font-family: var(--ye-display); font-weight: 700; font-size: .8rem;
  padding: 6px 14px; border-radius: var(--ye-pill); margin-bottom: 18px;
}
.ye-contact__side h3 { color: #fff; font-size: 1.5rem; margin: 0 0 10px; }
.ye-contact__lead { font-size: .95rem; line-height: 1.6; margin: 0 0 26px; }

.ye-contact__list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 20px; }
.ye-contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.ye-contact__list svg { width: 22px; height: 22px; color: var(--ye-lime); flex: 0 0 auto; margin-top: 2px; }
.ye-contact__list strong { color: #fff; font-family: var(--ye-display); font-weight: 600; font-size: .92rem; }
.ye-contact__list a { color: rgba(255,255,255,.92); border-bottom: 1px solid rgba(137,209,0,.5); }
.ye-contact__list a:hover { color: #fff; border-color: var(--ye-lime); }

.ye-contact__wa {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ye-lime); color: var(--ye-forest);
  font-family: var(--ye-display); font-weight: 700;
  padding: 13px 22px; border-radius: var(--ye-pill);
  transition: transform .15s ease, box-shadow .2s ease;
}
.ye-contact__wa svg { width: 20px; height: 20px; }
.ye-contact__wa:hover { color: var(--ye-forest); transform: translateY(-2px); box-shadow: 0 10px 26px -10px rgba(137,209,0,.6); }

/* =========================================================
   FICHE ACTIVITÉ — layout 2 colonnes + booking sticky
   ========================================================= */
.ye-single__grid { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 52px); }
@media (min-width: 960px){ .ye-single__grid { grid-template-columns: 1.6fr .9fr; align-items: start; } }

.ye-single__aside .ye-book { margin: 0; padding: clamp(22px, 2.4vw, 30px); }
@media (min-width: 960px){ .ye-single__aside { position: sticky; top: calc(var(--ye-header-h) + 20px); } }
.ye-book__title { font-size: 1.4rem; margin: 0 0 14px; }

/* =========================================================
   COMMENT ÇA SE PASSE — trois étapes
   En ligne dès que le bloc a la place (PC, tablette),
   empilées à la verticale en dessous (mobile, colonne étroite).
   ========================================================= */
.ye-steps { margin-top: clamp(30px, 4vw, 46px); container-type: inline-size; }
.ye-steps h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 20px; }
.ye-steps--center { text-align: center; }
.ye-steps--center .ye-steps__list { text-align: left; }

.ye-steps__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.ye-steps__list li { display: flex; gap: 16px; align-items: flex-start; }
.ye-steps__n {
  font-family: var(--ye-display); font-weight: 700; font-size: 1.25rem; color: var(--ye-lime-deep);
  background: var(--ye-lime-050); border-radius: 14px;
  width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 auto;
}
.ye-steps__list strong { display: block; font-family: var(--ye-display); font-weight: 600; color: var(--ye-forest); }
.ye-steps__list p { margin: 6px 0 0; color: var(--ye-forest-70); }

/* Trois de front, avec un trait de liaison entre les pastilles */
@container (min-width: 640px) {
  .ye-steps__list { --ye-steps-gap: clamp(26px, 3vw, 44px); grid-template-columns: repeat(3, 1fr); gap: var(--ye-steps-gap); align-items: start; }
  .ye-steps__list li { flex-direction: column; gap: 14px; position: relative; }
  .ye-steps__list li:not(:last-child)::after {
    content: ""; position: absolute; top: 23px; left: 62px; right: calc(var(--ye-steps-gap) * -1);
    border-top: 2px dotted var(--ye-lime); opacity: .55;
  }
}

/* Navigateurs sans requetes de conteneur : on bascule sur la largeur d'ecran */
@supports not (container-type: inline-size) {
  @media (min-width: 900px) {
    .ye-steps__list { --ye-steps-gap: clamp(26px, 3vw, 44px); grid-template-columns: repeat(3, 1fr); gap: var(--ye-steps-gap); align-items: start; }
    .ye-steps__list li { flex-direction: column; gap: 14px; }
  }
}

/* =========================================================
   GALERIE FICHE — layout adaptatif selon le nombre de photos
   (évite les cases vides quand il y a peu d'images)
   ========================================================= */
@media (min-width: 760px){
  .ye-gallery--1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
  .ye-gallery--1 .ye-gallery__main { grid-row: auto; grid-column: auto; }

  .ye-gallery--2 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
  .ye-gallery--2 .ye-gallery__main { grid-row: auto; grid-column: 1; }

  .ye-gallery--3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
  .ye-gallery--3 .ye-gallery__main { grid-row: 1 / 3; grid-column: 1; }

  .ye-gallery--4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
  .ye-gallery--4 .ye-gallery__main { grid-row: auto; grid-column: auto; }
}

/* =========================================================
   CATALOGUE — barre de filtres
   ========================================================= */
.ye-filters { max-width: var(--ye-max); margin-inline: auto; padding: clamp(18px, 2.5vw, 28px) var(--ye-gut) 0; }
.ye-filters__form {
  display: grid; grid-template-columns: 2fr 1.2fr 1.2fr auto; gap: 10px;
  background: var(--ye-paper); border: 1px solid var(--ye-line);
  border-radius: var(--ye-r-lg); padding: 14px; box-shadow: var(--ye-shadow);
}
@media (max-width: 820px){ .ye-filters__form { grid-template-columns: 1fr 1fr; } .ye-filters__field--search { grid-column: 1 / -1; } }
@media (max-width: 520px){ .ye-filters__form { grid-template-columns: 1fr; } }
.ye-filters__field { position: relative; display: flex; align-items: center; }
.ye-filters__field--search svg { position: absolute; left: 15px; width: 18px; height: 18px; color: var(--ye-forest-70); pointer-events: none; }
.ye-filters__form input[type=search] {
  width: 100%; padding: .85em 1em .85em 44px; font: inherit;
  border: 1.5px solid var(--ye-line); border-radius: var(--ye-r); background: #fff; color: var(--ye-forest);
}
.ye-filters__form input[type=search]:focus { outline: none; border-color: var(--ye-lime); box-shadow: 0 0 0 3px rgba(137,209,0,.2); }
.ye-filters .ye-select { width: 100%; }
.ye-filters .ye-select select { padding-block: .85em; }
.ye-filters__form .ye-btn { white-space: nowrap; align-self: stretch; }

.ye-filters__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 14px; padding-inline: 4px; }
.ye-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ye-chips__label { font-size: .85rem; color: var(--ye-forest-70); font-weight: 600; }
.ye-chip {
  padding: 7px 16px; border-radius: var(--ye-pill); border: 1.5px solid var(--ye-line);
  background: #fff; font-size: .9rem; color: var(--ye-forest); transition: border-color .15s, background .15s;
}
.ye-chip:hover { border-color: var(--ye-lime); }
.ye-chip.is-on { background: var(--ye-lime); border-color: var(--ye-lime); color: var(--ye-forest); font-weight: 600; }
.ye-filters__reset { margin-left: auto; font-size: .85rem; color: var(--ye-forest-70); }
.ye-filters__reset:hover { color: var(--ye-lime-deep); }

.ye-empty { text-align: center; padding: 48px 0; display: grid; gap: 18px; justify-items: center; }
.ye-empty p { color: var(--ye-forest-70); font-size: 1.1rem; }

/* =========================================================
   PAGE EXPÉRIENCE YES
   ========================================================= */
.ye-statband { background: var(--ye-forest); color: #fff; padding-block: clamp(28px, 4vw, 46px); }
.ye-statband__row { display: flex; flex-wrap: wrap; gap: 24px 40px; justify-content: space-around; text-align: center; }
.ye-stat strong { display: block; font-family: var(--ye-display); font-weight: 600; font-size: clamp(2rem, 4vw, 2.9rem); color: var(--ye-lime); line-height: 1; }
.ye-stat span { color: rgba(255,255,255,.75); font-size: .95rem; }

.ye-values { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.5vw, 28px); }
@media (max-width: 720px){ .ye-values { grid-template-columns: 1fr; } }
.ye-value { background: var(--ye-paper); border: 1px solid var(--ye-line); border-radius: var(--ye-r-lg); padding: clamp(24px, 3vw, 34px); box-shadow: var(--ye-shadow); }
.ye-value__mark { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--ye-lime-050); color: var(--ye-lime-deep); margin-bottom: 16px; }
.ye-value__mark svg { width: 26px; height: 26px; }
.ye-value h3 { font-size: 1.3rem; margin: 0 0 8px; }
.ye-value p { color: var(--ye-forest-70); margin: 0; }

.ye-cta-final { text-align: center; }

/* =========================================================
   404 + accessibilité + étapes horizontales
   ========================================================= */
.ye-404 { padding-block: clamp(60px, 10vw, 120px); }
.ye-404 h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 8px 0 0; }
.ye-404__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 34px; }
.ye-404__dests { display: grid; gap: 12px; justify-items: center; }
.ye-404__dests > span { font-size: .9rem; color: var(--ye-forest-70); }

/* Anneau de focus clavier (accessibilité) */
:focus-visible { outline: 2px solid var(--ye-lime-deep); outline-offset: 2px; border-radius: 6px; }
.ye-btn:focus-visible, .ye-card:focus-visible, .ye-chip:focus-visible { outline-offset: 3px; }

/* Page « L'experience Yes » : les coches vertes en tete de chaque carte
   n'apportent rien — les quatre cartes disent deja qu'il s'agit d'atouts.
   Retirees a la demande du fondateur (22/09/2026). Pour les remettre :
   supprimer ce bloc. */
.ye-value__mark { display: none; }
