/* ============================================================
   HOMÉOSPIRITS — Professionnels (2026)
   Page de vente B2B : hero packs sur fond vigne, marquee,
   déclaration, 4 arguments, bande barriques, annonce de
   l'espace pro, 3 canaux de contact, formulaire pro sur
   forêt nocturne. Primitives partagées dans css/global.css.
   JS : js/professionnels.js (soumission AJAX + confirmation).
   ============================================================ */

/* ---- HERO ---- */
.pro-hero { position: relative; min-height: calc(100vh - 110px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; background: var(--hs-forest-deep); }
.pro-hero__bg { position: absolute; inset: 0; z-index: -3; }
.pro-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; transform: scale(1.06); animation: proKen 30s ease-in-out infinite alternate; }
@keyframes proKen { from { transform: scale(1.06); } to { transform: scale(1.14); } }
.pro-hero__veil { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(20, 29, 23, 0.55) 0%, rgba(20, 29, 23, 0.18) 30%, rgba(20, 29, 23, 0.55) 62%, rgba(20, 29, 23, 0.93) 100%); }
.pro-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"); }
.pro-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); }
.pro-hero__ghost { position: absolute; right: clamp(0.6rem, 3vw, 2.4rem); bottom: 4.6rem; z-index: 0; font-family: var(--f-display); font-weight: 600; font-style: italic; font-size: clamp(4.6rem, 14vw, 12rem); line-height: 0.7; color: transparent; -webkit-text-stroke: 1.4px rgba(246, 242, 234, 0.09); letter-spacing: -0.02em; pointer-events: none; }
.pro-hero__copy { position: relative; z-index: 1; max-width: 46rem; }
.pro-hero__eyebrow { display: inline-flex; align-items: center; gap: 0.9rem; margin-bottom: 1.3rem; }
.pro-hero__eyebrow .rule { width: 40px; height: 1px; background: var(--hs-gold-light); display: block; }
.pro-hero__eyebrow .eyebrow { font-family: var(--f-sans); font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--hs-gold-light); }
.pro-hero__h1 { font-family: var(--f-display); font-weight: 500; font-size: clamp(2.5rem, 5.6vw, 4.7rem); line-height: 1.04; letter-spacing: -0.012em; color: var(--hs-cream); }
.pro-hero__h1 em { font-style: italic; color: var(--hs-gold-light); }
.pro-hero__p { font-family: var(--f-serif); font-size: clamp(1.14rem, 1.6vw, 1.4rem); line-height: 1.58; color: rgba(246, 242, 234, 0.88); margin-top: 1.4rem; max-width: 35rem; text-wrap: pretty; }
.pro-hero__cta { display: flex; flex-wrap: wrap; gap: 1.1rem 1.7rem; align-items: center; margin-top: 2.1rem; }
.pro-hero__chain { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.9rem; margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid rgba(233, 206, 163, 0.24); }
.pro-hero__chain span { font-family: var(--f-sans); font-size: 0.56rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--hs-sage-light); }
.pro-hero__chain i { position: relative; width: 1.8rem; height: 1px; background: rgba(203, 165, 107, 0.5); }
.pro-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); }

/* ---- Déclaration d'intro ---- */
.pro-intro__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.pro-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; }
.pro-intro__stmt em { color: var(--hs-gold-deep); }
.pro-intro__aside p { font-family: var(--f-serif); font-size: 1.1rem; line-height: 1.6; color: var(--hs-ink-soft); }
.pro-intro__aside p + p { margin-top: 0.9rem; }
.pro-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); }
.pro-intro__sign i { width: 28px; height: 1px; background: var(--hs-gold-deep); }
@media (max-width: 820px) { .pro-intro__grid { grid-template-columns: 1fr; gap: 1.8rem; } }

/* ---- Arguments (4 cartes) ---- */
.pro-args { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 2.8rem; }
.pro-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); }
.pro-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); }
.pro-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); }
.pro-card:hover::after { transform: scaleX(1); }
.pro-card__ico { display: inline-flex; align-items: center; justify-content: center; width: 2.6rem; height: 2.6rem; border: 1px solid rgba(146, 110, 60, 0.4); color: var(--hs-gold-deep); font-size: 1rem; }
.pro-card__name { font-family: var(--f-display); font-size: 1.5rem; line-height: 1.12; color: var(--hs-ink); margin: 0.9rem 0 0.2rem; }
.pro-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; }
.pro-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); }
.pro-card__hint a { color: var(--hs-gold-deep); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .pro-args { grid-template-columns: 1fr; } }

/* ---- Bande barriques ---- */
.pro-band { position: relative; min-height: 58vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; isolation: isolate; background: var(--hs-forest-deep); }
.pro-band__bg { position: absolute; inset: 0; z-index: -3; }
.pro-band__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); }
.pro-band__veil { position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 70% at 50% 50%, rgba(10, 10, 10, 0.36), rgba(10, 10, 10, 0.8)); }
.pro-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"); }
.pro-band__in { position: relative; z-index: 1; max-width: 44rem; padding: clamp(3rem, 8vh, 5rem) clamp(1.6rem, 5vw, 3rem); }
.pro-band__in .s-eyebrow { justify-content: center; color: var(--hs-gold-light); }
.pro-band__in .s-eyebrow .rule { background: var(--hs-gold-deep); opacity: 1; }
.pro-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; }
.pro-band__q em { color: var(--hs-gold-light); }
.pro-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); }

/* ---- Espace pro (bientôt) ---- */
.pro-soon { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; margin-top: 2.6rem; }
.pro-soon__panel { position: relative; background: var(--hs-cream-warm); border: 1px solid rgba(146, 110, 60, 0.3); padding: 2.2rem 2rem; }
.pro-soon__panel::before { content: ''; position: absolute; inset: -10px; border: 1px solid rgba(179, 139, 83, 0.25); pointer-events: none; }
.pro-soon__badge { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--f-sans); font-size: 0.56rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--hs-cream); background: var(--hs-forest-deep); padding: 0.5rem 0.9rem; }
.pro-soon__badge i { color: var(--hs-gold-light); }
.pro-soon__list { margin-top: 1.5rem; display: grid; gap: 0.9rem; }
.pro-soon__item { display: flex; gap: 0.9rem; align-items: flex-start; }
.pro-soon__item i { flex: none; margin-top: 0.25rem; color: var(--hs-gold-deep); font-size: 0.86rem; }
.pro-soon__item b { display: block; font-family: var(--f-display); font-weight: 500; font-size: 1.12rem; color: var(--hs-ink); }
.pro-soon__item span { font-family: var(--f-serif); font-size: 0.98rem; line-height: 1.5; color: var(--hs-ink-soft); }
.pro-soon__copy h2 { text-align: left; }
.pro-soon__copy .s-lead { margin-top: 1.2rem; max-width: 32rem; }
@media (max-width: 880px) { .pro-soon { grid-template-columns: 1fr; } .pro-soon__panel { order: 2; } }

/* ---- 3 canaux de contact ---- */
.pro-cta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 2.8rem; }
.pro-cta__c { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 0.4rem; background: var(--hs-cream); border: 1px solid rgba(38, 52, 42, 0.18); padding: 1.9rem 1.7rem; text-decoration: none; overflow: hidden; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease); }
.pro-cta__c::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--hs-gold); transform: scaleX(0); transform-origin: left; transition: transform 0.55s var(--ease); }
.pro-cta__c:hover { transform: translateY(-5px); box-shadow: 0 26px 54px -36px rgba(24, 34, 27, 0.5); border-color: rgba(179, 139, 83, 0.5); }
.pro-cta__c:hover::after { transform: scaleX(1); }
.pro-cta__c i { color: var(--hs-gold-deep); font-size: 1.15rem; }
.pro-cta__k { font-family: var(--f-sans); font-size: 0.56rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--hs-sage); margin-top: 0.7rem; }
.pro-cta__v { font-family: var(--f-display); font-size: 1.3rem; line-height: 1.2; color: var(--hs-ink); word-break: break-word; }
.pro-cta__s { font-family: var(--f-serif); font-size: 0.94rem; color: var(--hs-ink-soft); }
@media (max-width: 820px) { .pro-cta { grid-template-columns: 1fr; } }

/* ---- Formulaire pro (forêt nocturne) ---- */
.pro-req { position: relative; overflow: hidden; isolation: isolate; background: var(--hs-forest-deep); color: var(--hs-cream); }
.pro-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%); }
.pro-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"); }
.pro-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(4.4rem, 13vw, 11rem); line-height: 0.7; color: transparent; -webkit-text-stroke: 1.3px rgba(246, 242, 234, 0.07); pointer-events: none; }
.pro-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; }
.pro-req__intro .s-eyebrow { color: var(--hs-gold-light); }
.pro-req__intro .s-eyebrow .rule { background: var(--hs-gold-light); opacity: 1; }
.pro-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; }
.pro-req__intro h2 em { font-style: italic; color: var(--hs-gold-light); }
.pro-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; }
.pro-req__contact { margin-top: 1.8rem; display: grid; gap: 0.7rem; }
.pro-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; }
.pro-req__contact a:hover { color: var(--hs-gold-pale); }
.pro-req__contact a i { width: 1.4rem; height: 1px; background: var(--hs-gold-light); }

.pro-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.pro-field { display: flex; flex-direction: column; gap: 0.45rem; }
.pro-field.full { grid-column: 1 / -1; }
.pro-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); }
.pro-field label .req { color: var(--hs-gold-light); }
.pro-field input, .pro-field select, .pro-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); }
.pro-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; }
.pro-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; }
.pro-field input::placeholder, .pro-field textarea::placeholder { color: rgba(246, 242, 234, 0.42); }
.pro-field input:focus, .pro-field select:focus, .pro-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); }
.pro-field select option { color: #20211c; }
.pro-form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 0.4rem; }
.pro-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; }
.pro-form__err { grid-column: 1 / -1; font-family: var(--f-sans); font-size: 0.78rem; color: #e8a9a0; }
.pro-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); }
.pro-submit:hover { background: var(--hs-gold-light); }
.pro-submit .arrow { width: 1.4rem; height: 1px; background: currentColor; position: relative; transition: width 0.4s var(--ease); }
.pro-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); }
.pro-submit:hover .arrow { width: 2rem; }
.pro-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) { .pro-req__in { grid-template-columns: 1fr; gap: 2.2rem; } }
@media (max-width: 560px) { .pro-form { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { .pro-hero__bg img { animation: none; } }
