/* ============================================================
   HOMÉOSPIRITS — Visiter le chai (refonte 2026)
   Page de vente de la visite : hero cinématique barriques,
   invitation signée, parcours en 4 étapes alternées, bande
   citation plein écran, options « à la carte » (sans tarif),
   infos pratiques, formulaire de demande sur forêt nocturne.
   Primitives partagées dans css/global.css. JS : js/visiter_le_chai.js.
   ============================================================ */

/* ---- HERO cinématique ---- */
.vc-hero { position: relative; min-height: calc(100vh - 110px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; background: var(--hs-forest-deep); }
.vc-hero__bg { position: absolute; inset: 0; z-index: -3; }
.vc-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 46%; transform: scale(1.06); animation: vcKen 28s ease-in-out infinite alternate; }
@keyframes vcKen { from { transform: scale(1.06); } to { transform: scale(1.15); } }
.vc-hero__veil { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(20, 29, 23, 0.62) 0%, rgba(20, 29, 23, 0.2) 34%, rgba(20, 29, 23, 0.5) 64%, rgba(20, 29, 23, 0.92) 100%); }
.vc-hero__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"); }
.vc-hero__in { position: relative; width: 100%; max-width: 1240px; margin: 0 auto; padding: 4rem clamp(1.6rem, 5vw, 4rem) clamp(3.4rem, 8vh, 5.5rem); }
.vc-hero__ghost { position: absolute; left: clamp(0.6rem, 3vw, 2.4rem); bottom: 4.8rem; z-index: 0; font-family: var(--f-display); font-weight: 600; font-style: italic; font-size: clamp(5.5rem, 18vw, 16rem); line-height: 0.7; color: transparent; -webkit-text-stroke: 1.4px rgba(246, 242, 234, 0.09); letter-spacing: -0.02em; pointer-events: none; }
.vc-hero__copy { position: relative; z-index: 1; max-width: 44rem; }
.vc-hero__eyebrow { display: inline-flex; align-items: center; gap: 0.9rem; margin-bottom: 1.3rem; }
.vc-hero__eyebrow .rule { width: 40px; height: 1px; background: var(--hs-gold-light); display: block; }
.vc-hero__eyebrow .eyebrow { font-family: var(--f-sans); font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--hs-gold-light); }
.vc-hero__h1 { font-family: var(--f-display); font-weight: 500; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.03; letter-spacing: -0.012em; color: var(--hs-cream); }
.vc-hero__h1 em { font-style: italic; color: var(--hs-gold-light); }
.vc-hero__p { font-family: var(--f-serif); font-size: clamp(1.16rem, 1.6vw, 1.42rem); line-height: 1.58; color: rgba(246, 242, 234, 0.88); margin-top: 1.4rem; max-width: 34rem; text-wrap: pretty; }
.vc-hero__cta { display: flex; flex-wrap: wrap; gap: 1.1rem 1.7rem; align-items: center; margin-top: 2.1rem; }
.vc-hero__chain { display: inline-flex; align-items: center; gap: 1rem; margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid rgba(233, 206, 163, 0.24); }
.vc-hero__chain span { font-family: var(--f-sans); font-size: 0.56rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--hs-sage-light); }
.vc-hero__chain i { position: relative; width: 2rem; height: 1px; background: rgba(203, 165, 107, 0.5); }
.vc-hero__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); }
.vc-hero__scroll { position: absolute; right: clamp(1.4rem, 5vw, 3.4rem); bottom: clamp(2.4rem, 6vh, 4rem); z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 0.8rem; }
.vc-hero__scroll span { writing-mode: vertical-rl; font-family: var(--f-sans); font-size: 0.5rem; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(246, 242, 234, 0.6); }
.vc-hero__scroll i { width: 1px; height: 46px; background: linear-gradient(rgba(203, 165, 107, 0.1), var(--hs-gold-light)); position: relative; overflow: hidden; }
.vc-hero__scroll i::after { content: ''; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: var(--hs-gold-light); animation: vcScroll 2.2s var(--ease) infinite; }
@keyframes vcScroll { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(220%); } }
@media (max-width: 760px) { .vc-hero__scroll { display: none; } }

/* ---- Invitation ---- */
.vc-intro__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.vc-intro__stmt { font-family: var(--f-display); font-weight: 500; font-style: italic; font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.28; color: var(--hs-ink); text-wrap: balance; }
.vc-intro__stmt em { color: var(--hs-gold-deep); }
.vc-intro__aside p { font-family: var(--f-serif); font-size: 1.1rem; line-height: 1.6; color: var(--hs-ink-soft); }
.vc-intro__aside p + p { margin-top: 0.9rem; }
.vc-intro__sign { display: inline-flex; align-items: center; gap: 0.8rem; margin-top: 1.4rem; font-family: var(--f-display); font-style: italic; font-size: 1.15rem; color: var(--hs-gold-deep); }
.vc-intro__sign i { width: 28px; height: 1px; background: var(--hs-gold-deep); }
@media (max-width: 820px) { .vc-intro__grid { grid-template-columns: 1fr; gap: 1.8rem; } }

/* ---- Parcours : étapes alternées ---- */
.vc-step { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.2rem); align-items: center; }
.vc-step + .vc-step { margin-top: clamp(3.4rem, 7vw, 6rem); }
.vc-step__fig { position: relative; }
.vc-step__img { position: relative; aspect-ratio: 5/4; overflow: hidden; box-shadow: 0 36px 76px -44px rgba(24, 34, 27, 0.6); }
.vc-step__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: transform 1.6s var(--ease); display: block; }
.vc-step__fig:hover .vc-step__img img { transform: scale(1.12); }
.vc-step__img::after { content: ''; position: absolute; inset: 0; border: 1px solid rgba(203, 165, 107, 0.4); pointer-events: none; }
.vc-step__frameline { position: absolute; inset: -11px; border: 1px solid rgba(179, 139, 83, 0.32); pointer-events: none; }
.vc-step:nth-child(even) .vc-step__fig { order: 2; }
.vc-step__no { font-family: var(--f-display); font-weight: 600; font-style: italic; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 0.8; color: transparent; -webkit-text-stroke: 1.3px rgba(146, 110, 60, 0.4); display: block; margin-bottom: 0.8rem; }
.vc-step__k { font-family: var(--f-sans); font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--hs-gold-deep); }
.vc-step h3 { font-family: var(--f-display); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.16; color: var(--hs-ink); margin: 0.5rem 0 0.8rem; }
.vc-step p { font-family: var(--f-serif); font-size: 1.08rem; line-height: 1.6; color: var(--hs-ink-soft); text-wrap: pretty; }
.vc-step__cap { position: absolute; left: 0.9rem; bottom: 0.9rem; z-index: 2; font-family: var(--f-sans); font-size: 0.5rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--hs-cream); background: rgba(20, 29, 23, 0.5); backdrop-filter: blur(3px); padding: 0.42rem 0.72rem; }
@media (max-width: 820px) { .vc-step { grid-template-columns: 1fr; gap: 1.6rem; } .vc-step:nth-child(even) .vc-step__fig { order: 0; } }

/* ---- Bande citation plein écran ---- */
.vc-band { position: relative; min-height: 66vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; isolation: isolate; background: var(--hs-forest-deep); }
.vc-band__bg { position: absolute; inset: 0; z-index: -3; }
.vc-band__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); }
.vc-band__veil { position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 70% at 50% 50%, rgba(10, 10, 10, 0.34), rgba(10, 10, 10, 0.78)); }
.vc-band__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='160' height='160'%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"); }
.vc-band__in { position: relative; z-index: 1; max-width: 42rem; padding: clamp(3rem, 8vh, 5rem) clamp(1.6rem, 5vw, 3rem); }
.vc-band__in .s-eyebrow { justify-content: center; color: var(--hs-gold-light); }
.vc-band__in .s-eyebrow .rule { background: var(--hs-gold-deep); opacity: 1; }
.vc-band__q { font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: clamp(1.7rem, 3.6vw, 2.7rem); line-height: 1.24; color: var(--hs-cream); margin-top: 1rem; text-wrap: balance; }
.vc-band__q em { color: var(--hs-gold-light); }
.vc-band__src { display: block; margin-top: 1.4rem; font-family: var(--f-sans); font-size: 0.56rem; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(246, 242, 234, 0.6); }

/* ---- Options « à la carte » (sans tarif) ---- */
.vc-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 2.8rem; }
.vc-card { position: relative; display: flex; flex-direction: column; background: var(--hs-cream-warm); border: 1px solid rgba(38, 52, 42, 0.16); padding: 2rem 1.8rem 1.9rem; overflow: hidden; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease); }
.vc-card::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--hs-gold); transform: scaleX(0); transform-origin: left; transition: transform 0.55s var(--ease); }
.vc-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -38px rgba(24, 34, 27, 0.5); border-color: rgba(179, 139, 83, 0.45); }
.vc-card:hover::after { transform: scaleX(1); }
.vc-card__no { font-family: var(--f-display); font-weight: 600; font-style: italic; font-size: 2.1rem; line-height: 0.8; color: transparent; -webkit-text-stroke: 1.2px rgba(146, 110, 60, 0.38); }
.vc-card__name { font-family: var(--f-display); font-size: 1.5rem; line-height: 1.12; color: var(--hs-ink); margin: 0.5rem 0 0.2rem; }
.vc-card__desc { font-family: var(--f-serif); font-size: 1.04rem; line-height: 1.58; color: var(--hs-ink-soft); margin: 0.6rem 0 1rem; text-wrap: pretty; }
/* margin-top auto : les mentions restent alignées en pied de carte (hauteurs égales) */
.vc-card__hint { margin-top: auto; padding-top: 0.9rem; border-top: 1px solid rgba(38, 52, 42, 0.14); font-family: var(--f-sans); font-size: 0.6rem; letter-spacing: 0.1em; color: var(--hs-sage); }
@media (max-width: 760px) { .vc-opts { grid-template-columns: 1fr; } }

/* mot d'appel sous les cartes */
.vc-pitch { font-family: var(--f-display); font-style: italic; font-size: clamp(1.2rem, 2.1vw, 1.55rem); color: var(--hs-gold-deep); max-width: 40rem; margin: 2.6rem auto 0; }

/* ---- Infos pratiques ---- */
.vc-info { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(146, 110, 60, 0.2); border: 1px solid rgba(146, 110, 60, 0.2); margin-top: 2.6rem; }
.vc-info__c { background: var(--hs-cream); padding: 1.6rem 1.4rem; }
.vc-info__k { font-family: var(--f-sans); font-size: 0.54rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--hs-gold-deep); }
.vc-info__v { font-family: var(--f-display); font-size: 1.18rem; color: var(--hs-ink); margin-top: 0.5rem; line-height: 1.2; }
.vc-info__s { font-family: var(--f-serif); font-size: 0.9rem; color: var(--hs-ink-soft); margin-top: 0.2rem; }
@media (max-width: 760px) { .vc-info { grid-template-columns: 1fr 1fr; } }

/* ---- Formulaire de demande (forêt nocturne) ---- */
.vc-req { position: relative; overflow: hidden; isolation: isolate; background: var(--hs-forest-deep); color: var(--hs-cream); }
.vc-req::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(56% 60% at 86% 8%, rgba(203, 165, 107, 0.16), transparent 60%), radial-gradient(70% 80% at 2% 100%, rgba(44, 68, 56, 0.55), transparent 58%); }
.vc-req__grain { position: absolute; inset: 0; z-index: 0; opacity: 0.36; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%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"); }
.vc-req__ghost { position: absolute; right: 1vw; bottom: -3rem; z-index: 0; font-family: var(--f-display); font-weight: 600; font-style: italic; font-size: clamp(5rem, 15vw, 13rem); line-height: 0.7; color: transparent; -webkit-text-stroke: 1.3px rgba(246, 242, 234, 0.07); pointer-events: none; }
.vc-req__in { position: relative; z-index: 1; display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.vc-req__intro .s-eyebrow { color: var(--hs-gold-light); }
.vc-req__intro .s-eyebrow .rule { background: var(--hs-gold-light); opacity: 1; }
.vc-req__intro h2 { font-family: var(--f-display); font-weight: 500; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; color: var(--hs-cream); margin-top: 0.9rem; }
.vc-req__intro h2 em { font-style: italic; color: var(--hs-gold-light); }
.vc-req__intro p { font-family: var(--f-serif); font-size: 1.12rem; line-height: 1.58; color: rgba(246, 242, 234, 0.84); margin-top: 1rem; max-width: 26rem; }
.vc-req__contact { margin-top: 1.8rem; display: grid; gap: 0.7rem; }
.vc-req__contact a { display: inline-flex; align-items: center; gap: 0.7rem; font-family: var(--f-sans); font-size: 0.78rem; letter-spacing: 0.04em; color: var(--hs-gold-light); text-decoration: none; transition: color 0.3s; }
.vc-req__contact a:hover { color: var(--hs-gold-pale); }
.vc-req__contact a i { width: 1.4rem; height: 1px; background: var(--hs-gold-light); }

.vc-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.vc-field { display: flex; flex-direction: column; gap: 0.45rem; }
.vc-field.full { grid-column: 1 / -1; }
.vc-field label { font-family: var(--f-sans); font-size: 0.56rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(246, 242, 234, 0.66); }
.vc-field label .req { color: var(--hs-gold-light); }
.vc-field input, .vc-field select, .vc-field textarea { font-family: var(--f-sans); font-size: 0.86rem; color: var(--hs-cream); background: rgba(246, 242, 234, 0.04); border: 1px solid rgba(233, 206, 163, 0.28); border-radius: 0; padding: 0 1rem; height: 52px; outline: none; transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease); }
.vc-field textarea { padding: 0.85rem 1rem; height: auto; min-height: 110px; resize: vertical; line-height: 1.5; font-family: var(--f-serif); font-size: 0.98rem; }
.vc-field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23CBA56B' stroke-width='1.4' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.4rem; cursor: pointer; }
.vc-field input::placeholder, .vc-field textarea::placeholder { color: rgba(246, 242, 234, 0.42); }
.vc-field input:focus, .vc-field select:focus, .vc-field textarea:focus { border-color: var(--hs-gold-light); box-shadow: 0 0 0 3px rgba(203, 165, 107, 0.16); background: rgba(246, 242, 234, 0.06); }
.vc-field select option { color: #20211c; }
.vc-form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 0.4rem; }
.vc-form__fine { font-family: var(--f-sans); font-size: 0.6rem; letter-spacing: 0.04em; line-height: 1.6; color: rgba(246, 242, 234, 0.55); max-width: 22rem; }
.vc-submit { flex: none; height: 56px; padding: 0 1.9rem; font-family: var(--f-sans); font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer; border: 1px solid transparent; background: var(--hs-gold); color: var(--hs-forest-deep); display: inline-flex; align-items: center; gap: 0.7rem; transition: background 0.4s var(--ease); }
.vc-submit:hover { background: var(--hs-gold-light); }
.vc-submit .arrow { width: 1.4rem; height: 1px; background: currentColor; position: relative; transition: width 0.4s var(--ease); }
.vc-submit .arrow::after { content: ''; position: absolute; right: -1px; top: 50%; width: 6px; height: 6px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: translateY(-50%) rotate(45deg); }
.vc-submit:hover .arrow { width: 2rem; }
.vc-form__ok { grid-column: 1 / -1; font-family: var(--f-display); font-style: italic; font-size: 1.3rem; color: var(--hs-gold-light); line-height: 1.4; padding: 1rem 0; }
@media (max-width: 880px) { .vc-req__in { grid-template-columns: 1fr; gap: 2.2rem; } }
@media (max-width: 560px) { .vc-form { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { .vc-hero__bg img, .vc-hero__scroll i::after { animation: none; } }
