/* ============================================================
   HOMÉOSPIRITS — Holohoméo / Savoir-faire (refonte 2026)
   Effets uniques à la page : hero blanc/vignes, deux piliers
   qui s'élargissent, grande citation, cycle « Du cep à la
   bouteille » (timeline horizontale épinglée au scroll),
   résultat dans le verre, clôture cinématique.
   Primitives partagées dans css/global.css. JS : js/holohomeo.js.
   ============================================================ */

/* ---- HERO : texte à gauche sur le blanc, vignes à droite ---- */
.hh-hero { position: relative; min-height: calc(100vh - 110px); display: flex; align-items: center; overflow: hidden; background: var(--hs-paper); isolation: isolate; }
.hh-hero__bg { position: absolute; inset: 0; z-index: -2; }
.hh-hero__bg img, .hh-hero__bg video { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hh-hero__wash { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(95deg, var(--hs-paper) 0%, var(--hs-paper) 30%, rgba(253, 250, 245, 0.86) 44%, rgba(253, 250, 245, 0) 64%); }
.hh-hero__in { width: 100%; padding: 4rem clamp(1.8rem, 5vw, 6rem); }
.hh-hero__copy { position: relative; max-width: 33rem; padding-left: 1.9rem; }
.hh-hero__copy::before { content: ''; position: absolute; left: 0; top: 0.35rem; bottom: 0.35rem; width: 2px; background: linear-gradient(var(--hs-gold), rgba(179, 139, 83, 0)); }
.hh-hero__eyebrow { display: inline-flex; align-items: center; gap: 0.9rem; margin-bottom: 1.3rem; }
.hh-hero__eyebrow .rule { width: 38px; height: 1px; background: var(--hs-gold-deep); display: block; }
.hh-hero__eyebrow .eyebrow { font-family: var(--f-sans); font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--hs-gold-deep); }
.hh-hero__h1 { font-family: var(--f-display); font-weight: 500; font-size: clamp(2.2rem, 4.2vw, 3.6rem); line-height: 1.08; letter-spacing: -0.01em; color: var(--hs-ink); }
.hh-hero__h1 em { font-style: italic; color: var(--hs-gold-deep); }
.hh-hero__p { font-family: var(--f-serif); font-size: clamp(1.14rem, 1.4vw, 1.32rem); line-height: 1.62; color: var(--hs-ink-soft); margin-top: 1.5rem; max-width: 31rem; text-wrap: pretty; }
.hh-hero__cta { display: flex; flex-wrap: nowrap; gap: 1.1rem 1.6rem; align-items: center; margin-top: 2.1rem; }
.hh-hero__cta a { white-space: nowrap; }
.hh-hero__chain { display: inline-flex; align-items: center; gap: 1rem; margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid rgba(179, 139, 83, 0.28); }
.hh-hero__chain span { font-family: var(--f-sans); font-size: 0.56rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--hs-sage); }
.hh-hero__chain i { position: relative; width: 2rem; height: 1px; background: rgba(179, 139, 83, 0.5); }
.hh-hero__chain i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--hs-gold); transform: translate(-50%, -50%); box-shadow: 0 0 8px rgba(203, 165, 107, 0.5); }
@media (max-width: 900px) {
  .hh-hero__bg img { object-position: 72% center; }
  .hh-hero__wash { background: linear-gradient(180deg, rgba(253, 250, 245, 0.95) 0%, rgba(253, 250, 245, 0.72) 44%, rgba(253, 250, 245, 0.28) 100%); }
  .hh-hero__in { padding: 4rem 1.6rem; }
  .hh-hero__copy { max-width: none; }
  .hh-hero__cta { flex-wrap: wrap; }
}

/* ---- Piliers : deux panneaux qui s'élargissent au survol ---- */
.hh-pil2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 3rem; background: rgba(233, 206, 163, 0.22); border: 1px solid rgba(233, 206, 163, 0.24); transition: grid-template-columns 0.7s var(--ease); }
.hh-pil2[data-open="0"] { grid-template-columns: 1.6fr 0.9fr; }
.hh-pil2[data-open="1"] { grid-template-columns: 0.9fr 1.6fr; }
.hh-pil2__p { position: relative; display: flex; flex-direction: column; justify-content: center; background: var(--hs-pine); padding: 2.6rem clamp(1.7rem, 2.6vw, 2.4rem); cursor: pointer; overflow: hidden; transition: background 0.55s var(--ease); }
.hh-pil2__no, .hh-pil2__t, .hh-pil2__body { position: relative; z-index: 1; }
.hh-pil2__p::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 0.6s var(--ease); background: radial-gradient(82% 78% at 16% 0%, rgba(203, 165, 107, 0.22), transparent 58%), radial-gradient(120% 100% at 100% 120%, rgba(0, 0, 0, 0.4), transparent 60%); }
.hh-pil2__p::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 2; background: linear-gradient(90deg, var(--hs-gold-light), var(--hs-gold)); box-shadow: 0 0 14px rgba(203, 165, 107, 0.6); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.hh-pil2__p.is-open { background: var(--hs-forest-deep); }
.hh-pil2__p.is-open::before { opacity: 1; }
.hh-pil2__p.is-open::after { transform: scaleX(1); }
.hh-pil2__no { font-family: var(--f-sans); font-size: 0.56rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--hs-gold-light); }
.hh-pil2__t { font-family: var(--f-display); font-size: clamp(1.4rem, 2.2vw, 1.85rem); line-height: 1.18; color: var(--hs-cream); margin: 0.6rem 0 0; padding-right: 2rem; }
.hh-pil2__body { max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.7s var(--ease), opacity 0.5s var(--ease), margin-top 0.6s var(--ease); }
.hh-pil2__p.is-open .hh-pil2__body { max-height: 800px; opacity: 1; margin-top: 1.2rem; }
.hh-pil2__body p { font-family: var(--f-serif); font-size: 1.02rem; line-height: 1.55; color: rgba(246, 242, 234, 0.84); }
.hh-pil2__body p + p { margin-top: 0.7rem; }
.hh-pil2__body strong { color: var(--hs-cream); font-weight: 600; }
.hh-pil2__plus { position: absolute; top: 2.6rem; right: 2rem; z-index: 2; width: 22px; height: 22px; opacity: 0.5; transition: opacity 0.4s, transform 0.5s var(--ease); }
.hh-pil2__plus::before, .hh-pil2__plus::after { content: ''; position: absolute; background: var(--hs-gold-light); }
.hh-pil2__plus::before { left: 0; right: 0; top: 50%; height: 1.5px; transform: translateY(-50%); }
.hh-pil2__plus::after { top: 0; bottom: 0; left: 50%; width: 1.5px; transform: translateX(-50%); transition: opacity 0.4s; }
.hh-pil2__p.is-open .hh-pil2__plus { opacity: 1; transform: rotate(90deg); }
.hh-pil2__p.is-open .hh-pil2__plus::after { opacity: 0; }
@media (max-width: 820px) { .hh-pil2, .hh-pil2[data-open="0"], .hh-pil2[data-open="1"] { grid-template-columns: 1fr; } .hh-pil2__p { height: auto !important; justify-content: flex-start; } .hh-pil2__body { max-height: none; opacity: 1; margin-top: 1.2rem; } .hh-pil2__plus { display: none; } }

/* ---- Grande citation avec guillemet orné ---- */
.hh-bigquote { position: relative; max-width: 46rem; margin: 3.4rem auto 0; text-align: center; padding-top: 3.2rem; }
.hh-bigquote__mark { position: absolute; left: 50%; top: 0; transform: translateX(-50%); font-family: var(--f-display); font-style: italic; font-size: clamp(3rem, 6vw, 4.4rem); line-height: 0.8; color: var(--hs-gold); opacity: 0.5; pointer-events: none; }
.hh-bigquote p { font-family: var(--f-display); font-style: italic; font-size: clamp(1.32rem, 2.4vw, 1.78rem); line-height: 1.46; color: var(--hs-ink); }
.hh-bigquote p em { font-style: italic; color: var(--hs-gold-deep); }
.hh-bigquote__foot { display: flex; align-items: center; justify-content: center; gap: 0.9rem; margin-top: 1.9rem; }
.hh-bigquote__foot i { width: 2.6rem; height: 1px; background: rgba(179, 139, 83, 0.5); position: relative; }
.hh-bigquote__foot i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--hs-gold); transform: translate(-50%, -50%); box-shadow: 0 0 8px rgba(203, 165, 107, 0.5); }
.hh-bigquote__foot span { font-family: var(--f-sans); font-size: 0.54rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--hs-gold-deep); }

/* ---- Cycle « Du cep à la bouteille » : timeline horizontale épinglée ---- */
.hh-journey { --scenes: 6; position: relative; background: var(--hs-forest-deep); color: var(--hs-cream); height: calc(100vh + (var(--scenes) - 1) * 60vh); isolation: isolate; }
.hh-journey::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(60% 42% at 50% 0%, rgba(203, 165, 107, 0.16), transparent 60%), radial-gradient(120% 80% at 50% 120%, rgba(20, 29, 23, 0.6), transparent 55%); }
.hh-journey__pin { position: sticky; top: 0; height: 100vh; z-index: 1; display: flex; flex-direction: column; overflow: hidden; }
.hh-journey__head { flex: none; padding: clamp(3.1rem, 7.5vh, 4.6rem) clamp(1.6rem, 5vw, 4rem) 0; max-width: 1240px; width: 100%; margin: 0 auto; }
.hh-journey__eyebrow { display: inline-flex; align-items: center; gap: 0.9rem; }
.hh-journey__eyebrow .rule { width: 38px; height: 1px; background: var(--hs-lichen); display: block; }
.hh-journey__eyebrow .eyebrow { font-family: var(--f-sans); font-size: 0.6rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--hs-lichen); }
.hh-journey__title { font-family: var(--f-display); font-size: clamp(1.6rem, 2.8vw, 2.4rem); line-height: 1.08; color: var(--hs-cream); margin-top: 0.7rem; }
.hh-journey__title em { font-style: italic; color: var(--hs-gold-light); }
.hh-journey__now { display: flex; align-items: baseline; gap: 1rem; margin-top: 0.8rem; font-family: var(--f-sans); font-size: 0.56rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(246, 242, 234, 0.45); }
.hh-journey__now b { font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: 1.05rem; letter-spacing: 0; text-transform: none; color: var(--hs-gold-light); }

.hh-journey__view { flex: 1; position: relative; overflow: hidden; display: flex; align-items: center; min-height: 0; }
.hh-journey__track { display: flex; align-items: center; gap: clamp(1.3rem, 2.2vw, 2.2rem); padding: 0 clamp(1.6rem, 8vw, 11rem); will-change: transform; }

.hh-scene { position: relative; flex: 0 0 auto; width: clamp(500px, 64vw, 820px); display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(1.3rem, 2.4vw, 2.5rem); align-items: start; padding: 1.85rem clamp(1.6rem, 2.2vw, 2.3rem); border: 1px solid rgba(233, 206, 163, 0.2); background: rgba(246, 242, 234, 0.025); overflow: hidden; opacity: 0.4; transform: scale(0.97); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), border-color 0.6s var(--ease), background 0.6s var(--ease); }
.hh-scene__r { min-width: 0; }
.hh-scene::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--hs-gold-light), var(--hs-gold)); transform: scaleY(0); transform-origin: top; transition: transform 0.7s var(--ease); }
.hh-scene::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; pointer-events: none; background: radial-gradient(92% 72% at 0% 0%, rgba(203, 165, 107, 0.16), transparent 62%); transition: opacity 0.6s var(--ease); }
.hh-scene.is-active { opacity: 1; transform: none; border-color: rgba(233, 206, 163, 0.4); background: rgba(20, 29, 23, 0.34); }
.hh-scene.is-active::before { transform: scaleY(1); }
.hh-scene.is-active::after { opacity: 1; }
.hh-scene__n { display: block; font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: clamp(2.8rem, 4.2vw, 4rem); line-height: 0.8; color: transparent; -webkit-text-stroke: 1.2px rgba(203, 165, 107, 0.5); transition: color 0.5s var(--ease); }
.hh-scene.is-active .hh-scene__n { color: var(--hs-gold-light); -webkit-text-stroke: 0; }
.hh-scene__moment { font-family: var(--f-sans); font-size: 0.54rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--hs-lichen); margin-top: 0.85rem; }
.hh-scene__t { font-family: var(--f-display); font-size: clamp(1.35rem, 1.9vw, 1.7rem); line-height: 1.16; color: var(--hs-cream); margin-top: 0.45rem; }
.hh-scene__reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.7s var(--ease); }
.hh-scene.is-active .hh-scene__reveal { opacity: 1; transform: none; }
.hh-scene.is-active .hh-scene__reveal.d1 { transition-delay: 0.08s; }
.hh-scene.is-active .hh-scene__reveal.d2 { transition-delay: 0.16s; }
.hh-scene__body { font-family: var(--f-serif); font-size: 0.97rem; line-height: 1.5; color: rgba(246, 242, 234, 0.82); margin-top: 0; }
.hh-scene__items { list-style: none; display: grid; gap: 0.55rem; margin-top: 1rem; padding: 0; }
.hh-scene__items li { font-family: var(--f-serif); font-size: 0.92rem; line-height: 1.38; color: rgba(246, 242, 234, 0.78); padding-left: 1.3rem; position: relative; }
.hh-scene__items li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; border-radius: 50%; background: var(--hs-lichen); }
.hh-scene__items b { color: var(--hs-cream); font-weight: 600; }
.hh-scene__q { margin-top: 1.05rem; padding-left: 1.1rem; border-left: 2px solid var(--hs-gold-light); font-family: var(--f-display); font-style: italic; font-size: 1.02rem; line-height: 1.38; color: var(--hs-cream); }

.hh-journey__rail { flex: none; max-width: 1240px; width: 100%; margin: 0 auto; padding: 0 clamp(1.6rem, 5vw, 4rem) clamp(1.3rem, 3.2vh, 2rem); }
.hh-journey__line { position: relative; height: 1px; background: rgba(233, 206, 163, 0.2); }
.hh-journey__line i { position: absolute; left: 0; top: 0; height: 1px; width: 0%; background: linear-gradient(90deg, var(--hs-gold-light), var(--hs-gold)); box-shadow: 0 0 10px rgba(203, 165, 107, 0.6); }
.hh-journey__marks { display: flex; justify-content: space-between; gap: 0.5rem; margin-top: 0.8rem; }
.hh-mark { background: none; border: none; cursor: pointer; display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; padding: 0; text-align: left; }
.hh-mark__dot { width: 9px; height: 9px; border-radius: 50%; background: transparent; border: 1.5px solid rgba(233, 206, 163, 0.4); transition: background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.hh-mark.is-active .hh-mark__dot { background: var(--hs-gold-light); border-color: var(--hs-gold-light); }
.hh-mark.is-current .hh-mark__dot { box-shadow: 0 0 0 4px rgba(203, 165, 107, 0.18), 0 0 12px rgba(203, 165, 107, 0.7); }
.hh-mark__l { font-family: var(--f-sans); font-size: 0.5rem; letter-spacing: 0.13em; text-transform: uppercase; color: rgba(246, 242, 234, 0.4); transition: color 0.4s var(--ease); white-space: nowrap; }
.hh-mark.is-current .hh-mark__l { color: var(--hs-gold-light); }
.hh-journey__hint { display: flex; align-items: center; gap: 0.6rem; margin-top: 0.85rem; font-family: var(--f-sans); font-size: 0.5rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(246, 242, 234, 0.38); }
.hh-journey__hint i { width: 26px; height: 1px; background: rgba(203, 165, 107, 0.5); display: block; }

@media (max-width: 880px) {
  .hh-journey { height: auto; }
  .hh-journey__pin { position: static; height: auto; overflow: visible; }
  .hh-journey__view { overflow: visible; display: block; }
  .hh-journey__head { padding-top: clamp(3.4rem, 8vh, 4.6rem); }
  .hh-journey__track { flex-direction: column; gap: 1.1rem; padding: 1.8rem clamp(1.4rem, 5vw, 2rem) clamp(3rem, 8vh, 4.4rem); transform: none !important; }
  .hh-scene { width: auto; grid-template-columns: 1fr; gap: 0.5rem; opacity: 1; transform: none; border-color: rgba(233, 206, 163, 0.34); background: rgba(20, 29, 23, 0.3); }
  .hh-scene__items { margin-top: 0.9rem; }
  .hh-scene::before { transform: scaleY(1); }
  .hh-scene__n { color: var(--hs-gold-light); -webkit-text-stroke: 0; }
  .hh-scene__reveal { opacity: 1; transform: none; }
  .hh-journey__rail, .hh-journey__now { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hh-scene, .hh-scene__reveal, .hh-scene::before { transition: none; } }

/* ---- Résultat dans le verre (filets dorés verticaux) ---- */
.hh-verre { background: var(--hs-sand); position: relative; overflow: hidden; }
.hh-verre::before, .hh-verre::after { content: ''; position: absolute; left: 50%; transform: translateX(-50%); width: 1px; height: clamp(1.6rem, 4vw, 2.6rem); background: linear-gradient(var(--hs-gold), transparent); }
.hh-verre::before { top: 0; }
.hh-verre::after { bottom: 0; background: linear-gradient(transparent, var(--hs-gold)); }
.hh-verre__ghost { position: absolute; left: 50%; top: 1.6rem; transform: translateX(-50%); z-index: 0; font-family: var(--f-display); font-weight: 600; font-style: italic; font-size: clamp(4.5rem, 14vw, 11rem); line-height: 0.8; color: transparent; -webkit-text-stroke: 1.3px rgba(146, 110, 60, 0.1); white-space: nowrap; pointer-events: none; }
.hh-verre__in { position: relative; z-index: 1; }
.hh-verre__pull { position: relative; max-width: 34rem; margin: 2.2rem auto 0; padding-top: 2rem; font-family: var(--f-display); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.34; color: var(--hs-ink); text-wrap: balance; }
.hh-verre__pull::before { content: ''; position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 2.4rem; height: 1px; background: rgba(179, 139, 83, 0.55); }
.hh-verre__pull em { font-style: italic; color: var(--hs-gold-deep); }

/* ---- Clôture « Tout commence par le lieu » (bande cinématique) ---- */
.hh-close { position: relative; min-height: clamp(560px, 82vh, 760px); display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; isolation: isolate; background: var(--hs-forest-deep); }
.hh-close__bg { position: absolute; inset: 0; z-index: -3; }
.hh-close__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; transform: scale(1.06); animation: hhCloseKen 26s ease-in-out infinite alternate; }
@keyframes hhCloseKen { from { transform: scale(1.06); } to { transform: scale(1.16); } }
.hh-close__veil { position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 64% at 50% 42%, rgba(20, 29, 23, 0.42), rgba(20, 29, 23, 0.74) 78%), linear-gradient(180deg, rgba(20, 29, 23, 0.6), rgba(20, 29, 23, 0.5) 40%, rgba(20, 29, 23, 0.86)); }
.hh-close__grain { position: absolute; inset: 0; z-index: -1; opacity: 0.4; mix-blend-mode: overlay; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hh-close__ghost { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 0; font-family: var(--f-display); font-weight: 600; font-style: italic; font-size: clamp(7rem, 22vw, 19rem); line-height: 0.8; color: transparent; -webkit-text-stroke: 1.4px rgba(246, 242, 234, 0.08); white-space: nowrap; pointer-events: none; }
.hh-close__in { position: relative; z-index: 1; max-width: 44rem; padding: clamp(3.5rem, 9vh, 6rem) clamp(1.6rem, 5vw, 3rem); }
.hh-close__in .s-eyebrow { justify-content: center; }
.hh-close__in .s-eyebrow .eyebrow { color: var(--hs-gold-light); }
.hh-close__in .s-eyebrow .rule { background: var(--hs-gold-deep); }
.hh-close__h2 { font-family: var(--f-display); font-weight: 500; font-size: clamp(2.4rem, 5.4vw, 4.2rem); line-height: 1.04; letter-spacing: -0.012em; color: var(--hs-cream); margin-top: 1rem; }
.hh-close__h2 em { font-style: italic; color: var(--hs-gold-light); }
.hh-close__p { font-family: var(--f-serif); font-size: clamp(1.12rem, 1.5vw, 1.32rem); line-height: 1.6; color: rgba(246, 242, 234, 0.86); max-width: 34rem; margin: 1.4rem auto 0; text-wrap: pretty; }
.hh-close__cta { display: flex; gap: 1.1rem 1.8rem; flex-wrap: wrap; justify-content: center; margin-top: 2.2rem; }
.hh-close__chain { display: inline-flex; align-items: center; gap: 1rem; margin-top: 2.6rem; padding-top: 1.5rem; border-top: 1px solid rgba(233, 206, 163, 0.24); }
.hh-close__chain span { font-family: var(--f-sans); font-size: 0.56rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--hs-sage-light); }
.hh-close__chain i { position: relative; width: 2rem; height: 1px; background: rgba(203, 165, 107, 0.5); }
.hh-close__chain i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--hs-gold-light); transform: translate(-50%, -50%); box-shadow: 0 0 8px rgba(203, 165, 107, 0.6); }
@media (prefers-reduced-motion: reduce) { .hh-close__bg img { animation: none; } }
